summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/krpc_subr.c
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>1998-08-18 00:32:50 +0000
committerbde <bde@FreeBSD.org>1998-08-18 00:32:50 +0000
commit09bd4b96031eb28e1f510c7fd8cb02e65daee9a0 (patch)
tree06b5b642aeea9a9a24327add2f724aa180a02b2f /sys/nfsclient/krpc_subr.c
parent744645c0346324449f43323c246d39ca4bef546c (diff)
downloadFreeBSD-src-09bd4b96031eb28e1f510c7fd8cb02e65daee9a0.zip
FreeBSD-src-09bd4b96031eb28e1f510c7fd8cb02e65daee9a0.tar.gz
Fixed printf format errors.
Diffstat (limited to 'sys/nfsclient/krpc_subr.c')
-rw-r--r--sys/nfsclient/krpc_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsclient/krpc_subr.c b/sys/nfsclient/krpc_subr.c
index f1dfa96..c77a5f5 100644
--- a/sys/nfsclient/krpc_subr.c
+++ b/sys/nfsclient/krpc_subr.c
@@ -1,5 +1,5 @@
/* $NetBSD: krpc_subr.c,v 1.12.4.1 1996/06/07 00:52:26 cgd Exp $ */
-/* $Id: krpc_subr.c,v 1.8 1998/03/14 03:25:16 tegge Exp $ */
+/* $Id: krpc_subr.c,v 1.9 1998/03/28 10:33:15 bde Exp $ */
/*
* Copyright (c) 1995 Gordon Ross, Adam Glass
@@ -337,8 +337,8 @@ krpc_call(sa, prog, vers, func, data, from_p, procp)
if (timo < MAX_RESEND_DELAY)
timo++;
else
- printf("RPC timeout for server 0x%x\n",
- ntohl(sa->sin_addr.s_addr));
+ printf("RPC timeout for server 0x%lx\n",
+ (u_long)ntohl(sa->sin_addr.s_addr));
/*
* Wait for up to timo seconds for a reply.
OpenPOWER on IntegriCloud