summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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));