aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBjoern A. Zeeb <bz@FreeBSD.org>2014-09-29 10:36:14 +0000
committerBjoern A. Zeeb <bz@FreeBSD.org>2014-09-29 10:36:14 +0000
commit5e24ef8793f898a8eb2a785e1bbefc986cfe03ed (patch)
treece5c0c7513588a02f3159f48decb176e73d0a661
parent4c37ae306534d24ed765a45115de2bebb2255b87 (diff)
downloadsrc-5e24ef8793f898a8eb2a785e1bbefc986cfe03ed.tar.gz
src-5e24ef8793f898a8eb2a785e1bbefc986cfe03ed.zip
Notes
-rw-r--r--lib/libpam/modules/pam_login_access/pam_login_access.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/libpam/modules/pam_login_access/pam_login_access.c b/lib/libpam/modules/pam_login_access/pam_login_access.c
index eb9cc57e1e64..e48d3c6ffb49 100644
--- a/lib/libpam/modules/pam_login_access/pam_login_access.c
+++ b/lib/libpam/modules/pam_login_access/pam_login_access.c
@@ -94,7 +94,8 @@ pam_sm_acct_mgmt(pam_handle_t *pamh, int flags __unused,
PAM_VERBOSE_ERROR("%s is not allowed to log in on %s",
user, tty);
} else {
- PAM_LOG("Checking login.access for user %s", user);
+ PAM_LOG("Checking login.access for user %s",
+ (const char *)user);
if (login_access(user, "***unknown***") != 0)
return (PAM_SUCCESS);
PAM_VERBOSE_ERROR("%s is not allowed to log in", user);