mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-08 10:08:05 +02:00
platform: fix format specifyer in _lifetime_to_string() for unsigned
Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
parent
fcc34ef77b
commit
a04df905fd
1 changed files with 1 additions and 1 deletions
|
|
@ -2078,7 +2078,7 @@ _lifetime_to_string (guint32 timestamp, guint32 lifetime, gint32 now, char *buf,
|
||||||
if (lifetime == NM_PLATFORM_LIFETIME_PERMANENT)
|
if (lifetime == NM_PLATFORM_LIFETIME_PERMANENT)
|
||||||
return "forever";
|
return "forever";
|
||||||
|
|
||||||
g_snprintf (buf, buf_size, "%dsec",
|
g_snprintf (buf, buf_size, "%usec",
|
||||||
_rebase_relative_time_on_now (timestamp, lifetime, now));
|
_rebase_relative_time_on_now (timestamp, lifetime, now));
|
||||||
return buf;
|
return buf;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue