diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/pam_lastlog/pam_lastlog.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/pam_lastlog/pam_lastlog.c b/modules/pam_lastlog/pam_lastlog.c index 05d0766c..f470166f 100644 --- a/modules/pam_lastlog/pam_lastlog.c +++ b/modules/pam_lastlog/pam_lastlog.c @@ -167,7 +167,9 @@ last_login_read(pam_handle_t *pamh, int announce, int last_fd, uid_t uid) if (!last_login.ll_time) { if (announce & LASTLOG_DEBUG) { - pam_syslog(pamh, LOG_DEBUG, "first login for user with uid %d", uid); + pam_syslog(pamh, LOG_DEBUG, + "first login for user with uid %lu", + (unsigned long int)uid); } } |