summaryrefslogtreecommitdiff
path: root/src/login/pam-module.c
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-08 12:12:20 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2014-02-08 13:07:39 -0500
commitcda7ecb0a3d6cf839ec484a6690c12857a6e8375 (patch)
treeafb03042b03217154f5b6353806463e0b36eb404 /src/login/pam-module.c
parentf27f0e2177ac0a4b96585aed7db3a080e27a2f00 (diff)
pam-module: avoid (null) in debug message
Diffstat (limited to 'src/login/pam-module.c')
-rw-r--r--src/login/pam-module.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/login/pam-module.c b/src/login/pam-module.c
index 79a9042ffd..ae4567334a 100644
--- a/src/login/pam-module.c
+++ b/src/login/pam-module.c
@@ -374,7 +374,7 @@ _public_ PAM_EXTERN int pam_sm_open_session(
"uid=%u pid=%u service=%s type=%s class=%s desktop=%s seat=%s vtnr=%u tty=%s display=%s remote=%s remote_user=%s remote_host=%s",
pw->pw_uid, getpid(),
strempty(service),
- type, class, desktop,
+ type, class, strempty(desktop),
strempty(seat), vtnr, strempty(tty), strempty(display),
yes_no(remote), strempty(remote_user), strempty(remote_host));