mirror of
https://github.com/systemd/systemd.git
synced 2025-03-08 08:58:27 +03:00
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)")
This commit is contained in:
parent
2751ad9c3f
commit
25ed7633b1
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user