From 383f87c16e75ac12b27e25783d8b4d810b28c3c0 Mon Sep 17 00:00:00 2001 From: Colin Guthrie <colin@mageia.org> Date: Mon, 3 Sep 2012 23:47:00 +0100 Subject: [PATCH] pam: Add session class to the debug log. (cherry picked from commit f904bdf2e9f6f858802489ab07ff070d4677bccb) --- src/login/pam-module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/login/pam-module.c b/src/login/pam-module.c index 27d36f5..be20328 100644 --- a/src/login/pam-module.c +++ b/src/login/pam-module.c @@ -518,8 +518,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) {