From: Colin Guthrie Date: Mon, 3 Sep 2012 22:47:00 +0000 (+0100) Subject: pam: Add session class to the debug log. X-Git-Tag: v190~131 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=f904bdf2e9f6f858802489ab07ff070d4677bccb pam: Add session class to the debug log. --- diff --git a/src/login/pam-module.c b/src/login/pam-module.c index 0727164db..d7f412860 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) {