diff options
author | Arthur de Jong <arthur@arthurdejong.org> | 2010-05-14 22:32:56 +0200 |
---|---|---|
committer | Arthur de Jong <arthur@arthurdejong.org> | 2010-05-14 22:32:56 +0200 |
commit | e49f9d49c8c950014eeb4a08264cea4cf8bc5404 (patch) | |
tree | 516eccf41b11c8963105b1435f9bed969b7516c9 | |
parent | 73ae8620ffa9d1ee66a4ed1bdb6802640f772355 (diff) |
print uid as a long
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1107 ef36b2f9-881f-0410-afb5-c4e39611909c
-rw-r--r-- | pam/pam.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -208,7 +208,7 @@ static int init(pam_handle_t *pamh,int flags,int argc,const char **argv, if ((pwent!=NULL)&&(pwent->pw_uid<cfg->minimum_uid)) { if (cfg->debug) - pam_syslog(pamh,LOG_DEBUG,"uid below minimum_uid; user=%s uid=%d",*username,(int)pwent->pw_uid); + pam_syslog(pamh,LOG_DEBUG,"uid below minimum_uid; user=%s uid=%ld",*username,(long)pwent->pw_uid); return cfg->ignore_unknown_user?PAM_IGNORE:PAM_USER_UNKNOWN; } } |