platform: change temp variable name in NLA_PUT_TYPE()

__tmp clashes with htole16() on s390x.

Fixes: 4120ad2431

https://github.com/NetworkManager/NetworkManager/pull/151
(cherry picked from commit 4888ee7e83)
This commit is contained in:
Beniamino Galvani 2018-06-29 09:52:01 +02:00 committed by Thomas Haller
parent b693daf6ba
commit fa5fa51f4b

View file

@ -225,8 +225,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) \