summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorngie <ngie@FreeBSD.org>2017-03-29 17:11:41 +0000
committerngie <ngie@FreeBSD.org>2017-03-29 17:11:41 +0000
commit26135bdc52cd30bc128def9f467ea4fba802a01f (patch)
tree0d5857b923a35ab7dba4f770ec603ee8b22c2676
parentd72551764385ceae1269d489f9c58788d5a74021 (diff)
downloadFreeBSD-src-26135bdc52cd30bc128def9f467ea4fba802a01f.zip
FreeBSD-src-26135bdc52cd30bc128def9f467ea4fba802a01f.tar.gz
Fix -Wformat issue with r316140, which broke i386/GENERIC
Since r316140 was a direct commit to ^/stable/10, this too is a direct commit to ^/stable/10. Reported by: Jenkins (FreeBSD-stable-10-i386-build job) Tested with: amd64, i386 Sponsored by: Dell EMC Isilon
-rw-r--r--sys/dev/xen/netfront/netfront.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/xen/netfront/netfront.c b/sys/dev/xen/netfront/netfront.c
index 812a499..0cb3d4d 100644
--- a/sys/dev/xen/netfront/netfront.c
+++ b/sys/dev/xen/netfront/netfront.c
@@ -837,7 +837,7 @@ netif_release_rx_bufs_copy(struct netfront_info *np)
if (busy != 0)
device_printf(np->xbdev,
- "Unable to release %u of %u in use grant references out of %ld total.\n",
+ "Unable to release %u of %u in use grant references out of %zu total.\n",
busy, inuse, NET_RX_RING_SIZE);
XN_RX_UNLOCK(np);
OpenPOWER on IntegriCloud