Skip to content

Commit

Permalink
ixgbe: fix reporting of spoofed packets
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Emil Tantilov authored and Jeff Kirsher committed Sep 15, 2012
1 parent 9f66d3e commit d6ea075
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}

/**
Expand Down

0 comments on commit d6ea075

Please sign in to comment.