]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
networkctl: change bitrate format from 'bps' to 'Bps'
authorAnton Tiurin <atiurin@proton.me>
Tue, 16 Sep 2025 20:58:56 +0000 (21:58 +0100)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Mon, 13 Oct 2025 08:04:47 +0000 (10:04 +0200)
(cherry picked from commit 9893859beb0de2d04d5e7c8f64412981a3f964a3)
(cherry picked from commit fc563bf78609250765dc905ecba85911d9529913)

src/network/networkctl-status-link.c

index ae13eba9ae076354c43e0ab5e1c2d4265b3f33e2..f4d7c56b72cbcd31ff6b03bf038ac2ecc3bef711 100644 (file)
@@ -757,7 +757,7 @@ static int link_status_one(
                 if (r < 0)
                         return table_log_add_error(r);
 
-                r = table_add_cell_stringf(table, NULL, "%sbps/%sbps",
+                r = table_add_cell_stringf(table, NULL, "%sBps/%sBps",
                                            FORMAT_BYTES_FULL(info->tx_bitrate, 0),
                                            FORMAT_BYTES_FULL(info->rx_bitrate, 0));
                 if (r < 0)