3301f9eb97
sfeatures is a "struct ethtool_sfeatures". Use sizeof() on the correct
data type.
Since "struct ethtool_gstrings" is larger than "struct ethtool_sfeatures",
this had no serious consequences.
Fixes:
|
||
---|---|---|
.. | ||
ethtool-util.c | ||
ethtool-util.h | ||
link-config-gperf.gperf | ||
link-config.c | ||
link-config.h |