Fix sizeof modifier for sizeof() in printf

This commit is contained in:
Eitan Adler 2014-03-30 00:25:31 +00:00
parent 9e4108268e
commit 1c90e87fdc

View File

@ -1382,7 +1382,7 @@ iwi_notif_link_quality(struct iwi_softc *sc, struct iwi_notif *notif)
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)