summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Williams <dcbw@redhat.com>2015-11-10 11:10:03 -0600
committerDan Williams <dcbw@redhat.com>2015-11-10 11:12:33 -0600
commit5fe23c6adce09069cee6505763be16d47aadf9e0 (patch)
treef31d74461ab1a56ff4e23775d158671a56e8d082
parent106e2228520ed612b7198e6f7392ec5f2c2f883d (diff)
downloadNetworkManager-5fe23c6adce09069cee6505763be16d47aadf9e0.tar.gz
core: fix builds with older gcc (like 4.4.x)
(cherry picked from commit 09a2be3b65b627144fd5f107e53f4983cc410429)
-rw-r--r--src/NetworkManagerUtils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/NetworkManagerUtils.h b/src/NetworkManagerUtils.h
index 70f62d47e2..1b7d924ab2 100644
--- a/src/NetworkManagerUtils.h
+++ b/src/NetworkManagerUtils.h
@@ -188,7 +188,7 @@ struct _NMUtilsIPv6IfaceId {
};
};
-#define NM_UTILS_IPV6_IFACE_ID_INIT { .id = 0 }
+#define NM_UTILS_IPV6_IFACE_ID_INIT { { .id = 0 } }
gboolean nm_utils_get_ipv6_interface_identifier (NMLinkType link_type,
const guint8 *hwaddr,