Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Mar 2014 00:25:31 +0000 (UTC)
From:      Eitan Adler <eadler@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r263927 - head/sys/dev/iwi
Message-ID:  <201403300025.s2U0PVSL064706@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: eadler
Date: Sun Mar 30 00:25:31 2014
New Revision: 263927
URL: http://svnweb.freebsd.org/changeset/base/263927

Log:
  Fix sizeof modifier for sizeof() in printf

Modified:
  head/sys/dev/iwi/if_iwi.c

Modified: head/sys/dev/iwi/if_iwi.c
==============================================================================
--- head/sys/dev/iwi/if_iwi.c	Sat Mar 29 23:46:01 2014	(r263926)
+++ head/sys/dev/iwi/if_iwi.c	Sun Mar 30 00:25:31 2014	(r263927)
@@ -1382,7 +1382,7 @@ iwi_notif_link_quality(struct iwi_softc 
 
 	len = le16toh(notif->len);
 
-	DPRINTFN(5, ("Notification (%u) - len=%d, sizeof=%d\n",
+	DPRINTFN(5, ("Notification (%u) - len=%d, sizeof=%zu\n",
 	    notif->type,
 	    len,
 	    sizeof(struct iwi_notif_link_quality)



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