summaryrefslogtreecommitdiffstats
path: root/src/network/networkctl.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-07-30 12:29:44 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2019-07-30 15:09:16 +0200
commit45160216b743b03c18193f711a69f3e837888496 (patch)
tree0a4c884884be99a3f7d1ab2c5cf6416c518f5630 /src/network/networkctl.c
parentdocs: fix typo (diff)
downloadsystemd-45160216b743b03c18193f711a69f3e837888496.tar.xz
systemd-45160216b743b03c18193f711a69f3e837888496.zip
networkctl: TABLE_BPS requires uint64_t
Diffstat (limited to 'src/network/networkctl.c')
-rw-r--r--src/network/networkctl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/networkctl.c b/src/network/networkctl.c
index 03b916d412..654955ba08 100644
--- a/src/network/networkctl.c
+++ b/src/network/networkctl.c
@@ -1275,7 +1275,7 @@ static int link_status_one(
r = table_add_many(table,
TABLE_EMPTY,
TABLE_STRING, "Speed:",
- TABLE_BPS, info->speed);
+ TABLE_BPS, (uint64_t) info->speed);
if (r < 0)
return r;
}