diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-06-17 16:44:58 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2006-06-17 16:44:58 +0000 |
commit | 97f5514b75745ee78428d0d3e46ffb7bc21d4f51 (patch) | |
tree | de8140556b4f089f1603ca117dccd34d75746376 /examples | |
parent | c9c4b5d6c58ff4042576d228249148da67d58196 (diff) | |
download | pam-97f5514b75745ee78428d0d3e46ffb7bc21d4f51.tar.gz pam-97f5514b75745ee78428d0d3e46ffb7bc21d4f51.tar.bz2 pam-97f5514b75745ee78428d0d3e46ffb7bc21d4f51.zip |
Relevant BUGIDs:
Purpose of commit: bugfix
Commit summary:
---------------
2006-06-17 Thorsten Kukuk <kukuk@thkukuk.de>
* examples/vpass.c: UID is unsigned on Linux.
* modules/pam_exec/pam_exec.c: Likewise.
* modules/pam_unix/pam_unix_acct.c: Likewise.
* modules/pam_unix/pam_unix_sess.c: Likewise.
* modules/pam_succeed_if/pam_succeed_if.8.xml: Fix syntax error.
* modules/pam_succeed_if/pam_succeed_if.8: Regenerated.
* modules/pam_succeed_if/README: Regenerated.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/vpass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/vpass.c b/examples/vpass.c index 1925dd66..a54ec061 100644 --- a/examples/vpass.c +++ b/examples/vpass.c @@ -33,7 +33,7 @@ int main(void) if (pw) { user = pw->pw_name; } else { - fprintf(stderr, "Invalid userid: %d\n", uid); + fprintf(stderr, "Invalid userid: %lu\n", (unsigned long) uid); exit(1); } |