Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37865404
en ru br
ALT Linux repositórios
S:0.106-alt1

Group :: Sistema/Configurações/Rede
RPM: netplan

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: alt-use-proper-print-format.patch
Download


diff --git a/src/parse-nm.c b/src/parse-nm.c
index 9b09e34..6e042bf 100644
--- a/src/parse-nm.c
+++ b/src/parse-nm.c
@@ -136,7 +136,7 @@ static void
 handle_bridge_uint(GKeyFile* kf, const gchar* key, NetplanNetDefinition* nd, char** dataptr) {
     if (g_key_file_get_uint64(kf, "bridge", key, NULL)) {
         nd->custom_bridging = TRUE;
-        *dataptr = g_strdup_printf("%lu", g_key_file_get_uint64(kf, "bridge", key, NULL));
+        *dataptr = g_strdup_printf("%" G_GUINT64_FORMAT, g_key_file_get_uint64(kf, "bridge", key, NULL));
         _kf_clear_key(kf, "bridge", key);
     }
 }
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009