summaryrefslogtreecommitdiffstats
path: root/lib/libc/rpc/svc_auth_unix.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1998-11-22 07:38:25 +0000
committerderaadt <deraadt@openbsd.org>1998-11-22 07:38:25 +0000
commitda9f7f3bfe9b9b0872d24702541440e80fa25142 (patch)
tree36ef24fba9c2a715758ed2441f68fcee9d8be732 /lib/libc/rpc/svc_auth_unix.c
parent$* -> "$@" (diff)
downloadwireguard-openbsd-da9f7f3bfe9b9b0872d24702541440e80fa25142.tar.xz
wireguard-openbsd-da9f7f3bfe9b9b0872d24702541440e80fa25142.zip
use %u for unsigned prints
Diffstat (limited to 'lib/libc/rpc/svc_auth_unix.c')
-rw-r--r--lib/libc/rpc/svc_auth_unix.c4
1 files changed, 2 insertions, 2 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;