Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2010-05-14 22:32:56 +0200
committerArthur de Jong <arthur@arthurdejong.org>2010-05-14 22:32:56 +0200
commite49f9d49c8c950014eeb4a08264cea4cf8bc5404 (patch)
tree516eccf41b11c8963105b1435f9bed969b7516c9
parent73ae8620ffa9d1ee66a4ed1bdb6802640f772355 (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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pam/pam.c b/pam/pam.c
index ee3cc34..146a32f 100644
--- a/pam/pam.c
+++ b/pam/pam.c
@@ -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;
}
}