ixgbe: fix reporting of spoofed packets

Use %u instead of %d to display u32 variable.

Signed-off-by: Emil Tantilov <[email protected]>
Tested-by: Phil Schmitt <[email protected]>
Tested-by: Robert Garrett <[email protected]>
Tested-by: Robert Garrett <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
This commit is contained in:
Emil Tantilov authored and Jeff Kirsher committed 2012-09-15 16:07:10 -07:00
1 parent 9f66d3eec4
commit d6ea075452
1 file changed
+1 -1
@@ -5573,7 +5573,7 @@ static void ixgbe_spoof_check(struct ixgbe_adapter *adapter)
if (!ssvpc)
return;
e_warn(drv, "%d Spoofed packets detected\n", ssvpc);
e_warn(drv, "%u Spoofed packets detected\n", ssvpc);
}
/**