summaryrefslogtreecommitdiffstats
path: root/sys/nfsclient/bootp_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/bootp_subr.c
parent744645c0346324449f43323c246d39ca4bef546c (diff)
downloadFreeBSD-src-09bd4b96031eb28e1f510c7fd8cb02e65daee9a0.zip
FreeBSD-src-09bd4b96031eb28e1f510c7fd8cb02e65daee9a0.tar.gz
Fixed printf format errors.
Diffstat (limited to 'sys/nfsclient/bootp_subr.c')
-rw-r--r--sys/nfsclient/bootp_subr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/nfsclient/bootp_subr.c b/sys/nfsclient/bootp_subr.c
index 2760b85..459af38 100644
--- a/sys/nfsclient/bootp_subr.c
+++ b/sys/nfsclient/bootp_subr.c
@@ -1,4 +1,4 @@
-/* $Id: bootp_subr.c,v 1.12 1998/03/28 10:33:15 bde Exp $ */
+/* $Id: bootp_subr.c,v 1.13 1998/03/30 09:53:38 phk Exp $ */
/*
* Copyright (c) 1995 Gordon Ross, Adam Glass
@@ -361,8 +361,8 @@ bootpc_call(call,reply,procp)
if (timo < MAX_RESEND_DELAY)
timo++;
else
- printf("BOOTP timeout for server 0x%x\n",
- ntohl(sin->sin_addr.s_addr));
+ printf("BOOTP timeout for server 0x%lx\n",
+ (u_long)ntohl(sin->sin_addr.s_addr));
/*
* Wait for up to timo seconds for a reply.
OpenPOWER on IntegriCloud