From: Frantisek Sumsal Date: Thu, 26 Sep 2019 13:13:21 +0000 (+0200) Subject: shared: fix a copy-paste error in ethtool-util X-Git-Tag: v244-rc1~254 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b80aca0fd902f89488e39e9a2a699f4eebdf593c;p=thirdparty%2Fsystemd.git shared: fix a copy-paste error in ethtool-util CID#1405818 --- diff --git a/src/shared/ethtool-util.c b/src/shared/ethtool-util.c index 4cab2ef6b06..346277c83a3 100644 --- a/src/shared/ethtool-util.c +++ b/src/shared/ethtool-util.c @@ -395,7 +395,7 @@ int ethtool_set_nic_buffer_size(int *fd, const char *ifname, netdev_ring_param * } if (ring->tx_pending_set) { - if (ecmd.tx_pending != ring->rx_pending) { + if (ecmd.tx_pending != ring->tx_pending) { ecmd.tx_pending = ring->tx_pending; need_update = true; }