diff options
author | 1997-02-10 00:51:39 +0000 | |
---|---|---|
committer | 1997-02-10 00:51:39 +0000 | |
commit | 33f3effb589fd23013041573a1bd7481e46e627b (patch) | |
tree | 7fc9f1a1c67d2a4649a39dba9602eacc17a95e72 /lib/libc | |
parent | Updates file(1) to version 3.22 by way to NetBSD. (diff) | |
download | wireguard-openbsd-33f3effb589fd23013041573a1bd7481e46e627b.tar.xz wireguard-openbsd-33f3effb589fd23013041573a1bd7481e46e627b.zip |
Make printf's match actual type (%lu -> %u).
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/rpc/clnt_perror.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libc/rpc/clnt_perror.c b/lib/libc/rpc/clnt_perror.c index b6514b1b098..038b7723e88 100644 --- a/lib/libc/rpc/clnt_perror.c +++ b/lib/libc/rpc/clnt_perror.c @@ -28,7 +28,7 @@ */ #if defined(LIBC_SCCS) && !defined(lint) -static char *rcsid = "$OpenBSD: clnt_perror.c,v 1.7 1997/02/09 03:35:23 deraadt Exp $"; +static char *rcsid = "$OpenBSD: clnt_perror.c,v 1.8 1997/02/10 00:51:39 millert Exp $"; #endif /* LIBC_SCCS and not lint */ /* @@ -104,7 +104,7 @@ clnt_sperror(rpch, s) case RPC_VERSMISMATCH: (void) snprintf(str, CLNT_PERROR_BUFLEN - (str - strstart), - "; low version = %lu, high version = %lu\n", + "; low version = %u, high version = %u\n", e.re_vers.low, e.re_vers.high); break; @@ -126,13 +126,13 @@ clnt_sperror(rpch, s) case RPC_PROGVERSMISMATCH: (void) snprintf(str, CLNT_PERROR_BUFLEN - (str - strstart), - "; low version = %lu, high version = %lu\n", + "; low version = %u, high version = %u\n", e.re_vers.low, e.re_vers.high); break; default: /* unknown */ (void) snprintf(str, CLNT_PERROR_BUFLEN - (str - strstart), - "; s1 = %lu, s2 = %lu\n", + "; s1 = %u, s2 = %u\n", e.re_lb.s1, e.re_lb.s2); break; } |