diff options
author | 2000-08-28 03:50:54 +0000 | |
---|---|---|
committer | 2000-08-28 03:50:54 +0000 | |
commit | 5ca0c297cfe9751bd5893e24b968307eddc8bbf6 (patch) | |
tree | 27fc4b06c31d8c3fb82457f92b01f22b4b0c0ef8 /usr.bin/ssh/ssh-add.c | |
parent | explicit path to gated so that it will load as expected (diff) | |
download | wireguard-openbsd-5ca0c297cfe9751bd5893e24b968307eddc8bbf6.tar.xz wireguard-openbsd-5ca0c297cfe9751bd5893e24b968307eddc8bbf6.zip |
print uid/gid as unsigned
Diffstat (limited to 'usr.bin/ssh/ssh-add.c')
-rw-r--r-- | usr.bin/ssh/ssh-add.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.bin/ssh/ssh-add.c b/usr.bin/ssh/ssh-add.c index ae5ca90d2fd..48053739b66 100644 --- a/usr.bin/ssh/ssh-add.c +++ b/usr.bin/ssh/ssh-add.c @@ -10,7 +10,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: ssh-add.c,v 1.19 2000/08/19 21:34:43 markus Exp $"); +RCSID("$OpenBSD: ssh-add.c,v 1.20 2000/08/28 03:50:54 deraadt Exp $"); #include <openssl/evp.h> #include <openssl/rsa.h> @@ -254,7 +254,8 @@ main(int argc, char **argv) if (no_files) { pw = getpwuid(getuid()); if (!pw) { - fprintf(stderr, "No user found with uid %d\n", (int) getuid()); + fprintf(stderr, "No user found with uid %u\n", + (u_int)getuid()); ssh_close_authentication_connection(ac); exit(1); } |