From: Marc Kleine-Budde Date: Fri, 17 Jun 2022 17:10:51 +0000 (+0200) Subject: networkctl: fix output of "status": replace "Queue Length" by "Number of Queues" X-Git-Tag: v252-rc1~796 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=25ed7633b1d231acf61246bbdca29faa80d7f00f;p=thirdparty%2Fsystemd.git networkctl: fix output of "status": replace "Queue Length" by "Number of Queues" Commit 0307afc681e1 ("networkctl: add support to display Transmit/Recieve queue length (#12633)") added the display of the number of RX and TX Queues to the output of `networkctl status $DEV`. However the row description says "Queue Length". This patch fixes the output by replacing "Queue Length" by "Number of Queues". Fixes: 0307afc681e1 ("networkctl: add support to display Transmit/Recieve queue length (#12633)") --- diff --git a/src/network/networkctl.c b/src/network/networkctl.c index c39e4a06e07..95ef31aab60 100644 --- a/src/network/networkctl.c +++ b/src/network/networkctl.c @@ -2110,7 +2110,7 @@ static int link_status_one( if (info->has_tx_queues || info->has_rx_queues) { r = table_add_many(table, TABLE_EMPTY, - TABLE_STRING, "Queue Length (Tx/Rx):"); + TABLE_STRING, "Number of Queues (Tx/Rx):"); if (r < 0) return table_log_add_error(r); r = table_add_cell_stringf(table, NULL, "%" PRIu32 "/%" PRIu32, info->tx_queues, info->rx_queues);