summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorColin Guthrie <colin@mageia.org>2012-09-03 23:47:00 +0100
committerLennart Poettering <lennart@poettering.net>2012-09-12 08:19:23 +0200
commitf904bdf2e9f6f858802489ab07ff070d4677bccb (patch)
tree6ba228854000edcddb7532dd058415b782fc20c2
parent8556879e0d14925ce897875c6c264368e2d048c2 (diff)
pam: Add session class to the debug log.
-rw-r--r--src/login/pam-module.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/login/pam-module.c b/src/login/pam-module.c
index 0727164db2..d7f412860a 100644
--- a/src/login/pam-module.c
+++ b/src/login/pam-module.c
@@ -517,8 +517,8 @@ _public_ PAM_EXTERN int pam_sm_open_session(
if (debug)
pam_syslog(handle, LOG_DEBUG, "Asking logind to create session: "
- "uid=%u pid=%u service=%s type=%s seat=%s vtnr=%u tty=%s display=%s remote=%s remote_user=%s remote_host=%s",
- uid, pid, service, type, seat, vtnr, tty, display, yes_no(remote), remote_user, remote_host);
+ "uid=%u pid=%u service=%s type=%s class=%s seat=%s vtnr=%u tty=%s display=%s remote=%s remote_user=%s remote_host=%s",
+ uid, pid, service, type, class, seat, vtnr, tty, display, yes_no(remote), remote_user, remote_host);
reply = dbus_connection_send_with_reply_and_block(bus, m, -1, &error);
if (!reply) {