ethtool-util: shorten code a bit
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 14 Sep 2021 16:41:15 +0000 (01:41 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 14 Sep 2021 16:41:19 +0000 (01:41 +0900)
commit4253dab576b3ff17887c3e0d97380aab2aa29d82
tree30d09a247336340bd6cf23227cee7bbf929b6428
parent6d9a72f3b9b4d00ec80051503e5e3d4d7cd46c05
ethtool-util: shorten code a bit

Also fixes a error code in debugging log.
src/shared/ethtool-util.c