From 16b8ae51b0eca798ad595f84de0dd4f392eff0ea Mon Sep 17 00:00:00 2001 From: Marc Kleine-Budde Date: Fri, 17 Jun 2022 19:10:51 +0200 Subject: [PATCH] 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)") (cherry picked from commit 25ed7633b1d231acf61246bbdca29faa80d7f00f) --- src/network/networkctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/network/networkctl.c b/src/network/networkctl.c index 8830f79eb7..a8eb180a5d 100644 --- a/src/network/networkctl.c +++ b/src/network/networkctl.c @@ -2133,7 +2133,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);