diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1997-02-10 00:51:40 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1997-02-10 00:51:40 +0000 |
commit | 1ff8ec33f8f0d5b5ab52913878867c1916fba46a (patch) | |
tree | 3a02e46562d201e8a69205e94c1b8bc63d25c27a /lib | |
parent | b422126a9f85ea5db78f94af33944c1fc2d7688b (diff) |
Make printf's match actual type (%lu -> %u).
Diffstat (limited to 'lib')
-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; } |