Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Nov 2010 21:43:37 +0000 (UTC)
From:      Weongyo Jeong <weongyo@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r215804 - head/sys/dev/usb
Message-ID:  <201011242143.oAOLhbqB083836@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: weongyo
Date: Wed Nov 24 21:43:36 2010
New Revision: 215804
URL: http://svn.freebsd.org/changeset/base/215804

Log:
  Fixes a compiler warning when it's compiled with INVARIANTS.
  
  Pointy hat to:	me

Modified:
  head/sys/dev/usb/usb_pf.c

Modified: head/sys/dev/usb/usb_pf.c
==============================================================================
--- head/sys/dev/usb/usb_pf.c	Wed Nov 24 19:15:26 2010	(r215803)
+++ head/sys/dev/usb/usb_pf.c	Wed Nov 24 21:43:36 2010	(r215804)
@@ -67,7 +67,7 @@ usbpf_attach(struct usb_bus *ubus)
 	if_attach(ifp);
 
 	KASSERT(sizeof(struct usbpf_pkthdr) == USBPF_HDR_LEN,
-	    ("wrong USB pf header length (%d)", sizeof(struct usbpf_pkthdr)));
+	    ("wrong USB pf header length (%zd)", sizeof(struct usbpf_pkthdr)));
 
 	/*
 	 * XXX According to the specification of DLT_USB, it indicates packets



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011242143.oAOLhbqB083836>