mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
Hopefully fix build breakage with gcc passing void * instead of char *
to "%s" format string after r272280. PR: 83099 193927 MFC after: 3 days X-MFC with: r272280
This commit is contained in:
parent
4c37ae3065
commit
5e24ef8793
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=272281
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user