1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-27 18:55:40 +03:00

networkctl: TABLE_BPS requires uint64_t

This commit is contained in:
Yu Watanabe 2019-07-30 19:29:44 +09:00 committed by Zbigniew Jędrzejewski-Szmek
parent 2d1b928109
commit 45160216b7

View File

@ -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;
}