aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/pam_lastlog/pam_lastlog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/pam_lastlog/pam_lastlog.c b/modules/pam_lastlog/pam_lastlog.c
index 831dbe3b..f255b9dd 100644
--- a/modules/pam_lastlog/pam_lastlog.c
+++ b/modules/pam_lastlog/pam_lastlog.c
@@ -779,7 +779,7 @@ pam_sm_open_session(pam_handle_t *pamh, int flags,
pwd = pam_modutil_getpwnam (pamh, user);
if (pwd == NULL) {
- D(("couldn't identify user %s", user));
+ D(("couldn't identify user %s", (const char *) user));
return PAM_USER_UNKNOWN;
}
uid = pwd->pw_uid;