From 33f3effb589fd23013041573a1bd7481e46e627b Mon Sep 17 00:00:00 2001 From: millert Date: Mon, 10 Feb 1997 00:51:39 +0000 Subject: [PATCH] Make printf's match actual type (%lu -> %u). --- lib/libc/rpc/clnt_perror.c | 8 ++++---- 1 file 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; } -- 2.20.1