mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-26 17:00:08 +01: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)
|
||||
return "forever";
|
||||
|
||||
g_snprintf (buf, buf_size, "%dsec",
|
||||
g_snprintf (buf, buf_size, "%usec",
|
||||
_rebase_relative_time_on_now (timestamp, lifetime, now));
|
||||
return buf;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue