]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkctl: fix output of "status": replace "Queue Length" by "Number of Queues"
authorMarc Kleine-Budde <mkl@pengutronix.de>
Fri, 17 Jun 2022 17:10:51 +0000 (19:10 +0200)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sat, 18 Jun 2022 01:44:42 +0000 (10:44 +0900)
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)")
src/network/networkctl.c

index c39e4a06e07184d3eecd63398b1c25cc74f08e90..95ef31aab604667631b5aaeeaaf3b3c7f45d2e4e 100644 (file)
@@ -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);