mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-06 02:40:17 +01:00
ifcfg-rh: fix printf format of guint64
This commit is contained in:
parent
5f76b1d480
commit
80bb28eff2
1 changed files with 1 additions and 1 deletions
|
|
@ -794,7 +794,7 @@ write_connection_setting (NMSettingConnection *s_con, shvarFile *ifcfg)
|
|||
|
||||
svSetValue (ifcfg, "LAST_CONNECT", NULL, FALSE);
|
||||
if (nm_setting_connection_get_timestamp (s_con)) {
|
||||
tmp = g_strdup_printf ("%llu", nm_setting_connection_get_timestamp (s_con));
|
||||
tmp = g_strdup_printf ("%" G_GUINT64_FORMAT, nm_setting_connection_get_timestamp (s_con));
|
||||
svSetValue (ifcfg, "LAST_CONNECT", tmp, FALSE);
|
||||
g_free (tmp);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue