ifcfg-rh: fix printf format of guint64

This commit is contained in:
Dan Williams 2009-04-14 18:47:20 -04:00
parent 5f76b1d480
commit 80bb28eff2

View file

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