examples/ethtool: fix uninitialised variable
authorRemy Horton <remy.horton@intel.com>
Thu, 10 Dec 2015 09:50:06 +0000 (09:50 +0000)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Thu, 10 Dec 2015 21:26:49 +0000 (22:26 +0100)
commitc98e8f3932d88f77c7f1acd7551406200795c5aa
tree16ed9ee4b215602caef28e738ed64841c69dd659
parent2704ad28ade10ea505e8827d1d0023ca84f40d23
examples/ethtool: fix uninitialised variable

Fix Coverity warning with uninitialised field in structure being used.
Zero out all the other unused ones.

>>> CID 120413 (#1 of 1): Uninitialized scalar variable (UNINIT)

Fixes: bda68ab9d1e7 ("examples/ethtool: add user-space ethtool sample application")

Signed-off-by: Remy Horton <remy.horton@intel.com>
Acked-by: John McNamara <john.mcnamara@intel.com>
examples/ethtool/ethtool-app/ethapp.c