diff options
author | 1998-11-22 07:38:25 +0000 | |
---|---|---|
committer | 1998-11-22 07:38:25 +0000 | |
commit | da9f7f3bfe9b9b0872d24702541440e80fa25142 (patch) | |
tree | 36ef24fba9c2a715758ed2441f68fcee9d8be732 /lib/libc | |
parent | $* -> "$@" (diff) | |
download | wireguard-openbsd-da9f7f3bfe9b9b0872d24702541440e80fa25142.tar.xz wireguard-openbsd-da9f7f3bfe9b9b0872d24702541440e80fa25142.zip |
use %u for unsigned prints
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/rpc/svc_auth_unix.c | 4 | ||||
-rw-r--r-- | lib/libc/rpc/svc_simple.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/rpc/svc_auth_unix.c b/lib/libc/rpc/svc_auth_unix.c index df39fecbf0a..8ec75d05cea 100644 --- a/lib/libc/rpc/svc_auth_unix.c +++ b/lib/libc/rpc/svc_auth_unix.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: svc_auth_unix.c,v 1.5 1998/06/08 16:46:53 deraadt Exp $"; +static char *rcsid = "$OpenBSD: svc_auth_unix.c,v 1.6 1998/11/22 07:38:25 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -101,7 +101,7 @@ _svcauth_unix(rqst, msg) * timestamp, hostname len (0), uid, gid, and gids len (0). */ if ((5 + gid_len) * BYTES_PER_XDR_UNIT + str_len > auth_len) { - (void) printf("bad auth_len gid %d str %d auth %d\n", + (void) printf("bad auth_len gid %u str %u auth %u\n", gid_len, str_len, auth_len); stat = AUTH_BADCRED; goto done; diff --git a/lib/libc/rpc/svc_simple.c b/lib/libc/rpc/svc_simple.c index 767f84500ad..5210321a9c7 100644 --- a/lib/libc/rpc/svc_simple.c +++ b/lib/libc/rpc/svc_simple.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: svc_simple.c,v 1.5 1998/03/19 00:27:25 millert Exp $"; +static char *rcsid = "$OpenBSD: svc_simple.c,v 1.6 1998/11/22 07:38:25 deraadt Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -66,7 +66,7 @@ registerrpc(prognum, versnum, procnum, progname, inproc, outproc) if (procnum == NULLPROC) { (void) fprintf(stderr, - "can't reassign procedure number %d\n", NULLPROC); + "can't reassign procedure number %u\n", NULLPROC); return (-1); } if (transp == 0) { |