mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-05 09:17:44 +03:00
networkctl: fix output of "status": replace "Queue Length" by "Number of Queues"
Commit0307afc681
("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:0307afc681
("networkctl: add support to display Transmit/Recieve queue length (#12633)") (cherry picked from commit25ed7633b1
)
This commit is contained in:
parent
996979f513
commit
16b8ae51b0
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user