summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBeniamino Galvani <bgalvani@redhat.com>2018-06-29 09:52:01 +0200
committerBeniamino Galvani <bgalvani@redhat.com>2018-06-29 09:57:47 +0200
commite60e02aa85dfb40e67a51da91b006e50910cc039 (patch)
treeb6293fdd18a417a12822f43c2178d8d8fdcc828d
parent9b3b90fc7c231fbde35fe66706c6bd1a511d30bd (diff)
downloadNetworkManager-bg/wpan-s390x-fix.tar.gz
platform: change temp variable name in NLA_PUT_TYPE()bg/wpan-s390x-fix
__tmp clashes with htole16() on s390x. Fixes: 4120ad243198095ad4629982c849802c3a8b5f5c
-rw-r--r--src/platform/nm-netlink.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/platform/nm-netlink.h b/src/platform/nm-netlink.h
index 8ae2641d6a..24565d074d 100644
--- a/src/platform/nm-netlink.h
+++ b/src/platform/nm-netlink.h
@@ -237,8 +237,8 @@ nla_put_string (struct nl_msg *msg, int attrtype, const char *str)
#define NLA_PUT_TYPE(msg, type, attrtype, value) \
do { \
- type __tmp = value; \
- NLA_PUT(msg, attrtype, sizeof(type), &__tmp); \
+ type __nla_tmp = value; \
+ NLA_PUT(msg, attrtype, sizeof(type), &__nla_tmp); \
} while(0)
#define NLA_PUT_U8(msg, attrtype, value) \