[network-manager-openvpn] properties: fix format string for route metric %ld/gint64
- From: Thomas Haller <thaller src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [network-manager-openvpn] properties: fix format string for route metric %ld/gint64
- Date: Fri, 22 Jan 2016 10:13:23 +0000 (UTC)
commit ca01125042e29ca993ad1be6dc72705b9a1daaeb
Author: Thomas Haller <thaller redhat com>
Date: Fri Jan 22 11:12:48 2016 +0100
properties: fix format string for route metric %ld/gint64
https://bugzilla.gnome.org/show_bug.cgi?id=760968
properties/import-export.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/properties/import-export.c b/properties/import-export.c
index d624b52..be4f8ae 100644
--- a/properties/import-export.c
+++ b/properties/import-export.c
@@ -1589,7 +1589,7 @@ do_export (const char *path, NMConnection *connection, GError **error)
nm_ip_route_get_dest (route),
netmask_str,
nm_ip_route_get_next_hop (route) ? nm_ip_route_get_next_hop (route) : "0.0.0.0",
- nm_ip_route_get_metric (route));
+ (long) nm_ip_route_get_metric (route));
}
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]