ixgbe: fix reporting of spoofed packets
authorEmil Tantilov <emil.s.tantilov@intel.com>
Wed, 8 Aug 2012 06:28:37 +0000 (06:28 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 15 Sep 2012 23:07:10 +0000 (16:07 -0700)
Use %u instead of %d to display u32 variable.

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Robert Garrett <RobertX.Garrett@intel.com>
Tested-by: Robert Garrett <RobertX.Garrett@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c

index ac9156735475689847aadafcd777501e0c7c6fd3..e641f14eddcdde1a561cd426c792ce0b783079bf 100644 (file)
@@ -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);
 }
 
 /**