From: stsp Date: Mon, 12 Jan 2015 18:18:42 +0000 (+0000) Subject: Fix axen(4) build with AXEN_DEBUG defined. From Fabien Raetz. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=766d2f01bba40e35e38b824969479269b185be89;p=openbsd Fix axen(4) build with AXEN_DEBUG defined. From Fabien Raetz. --- diff --git a/sys/dev/usb/if_axen.c b/sys/dev/usb/if_axen.c index b6afae1bfc4..300405b8f46 100644 --- a/sys/dev/usb/if_axen.c +++ b/sys/dev/usb/if_axen.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_axen.c,v 1.9 2014/12/22 02:28:52 tedu Exp $ */ +/* $OpenBSD: if_axen.c,v 1.10 2015/01/12 18:18:42 stsp Exp $ */ /* * Copyright (c) 2013 Yojiro UO @@ -1032,7 +1032,7 @@ axen_rxeof(struct usbd_xfer *xfer, void *priv, usbd_status status) pkt_hdr = letoh32(*hdr_p); pkt_len = (pkt_hdr >> 16) & 0x1fff; - DPRINTFN(10,("rxeof: packet#%d, pkt_hdr 0x%08x, pkt_len %d\n", + DPRINTFN(10,("rxeof: packet#%d, pkt_hdr 0x%08x, pkt_len %zu\n", pkt_count, pkt_hdr, pkt_len)); if ((pkt_hdr & AXEN_RXHDR_CRC_ERR) ||