mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager
synced 2024-07-22 02:35:25 +00:00
platform: change temp variable name in NLA_PUT_TYPE()
__tmp clashes with htole16() on s390x.
Fixes: 4120ad2431
https://github.com/NetworkManager/NetworkManager/pull/151
This commit is contained in:
parent
bf7b941502
commit
4888ee7e83
|
@ -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) \
|
||||
|
|
Loading…
Reference in a new issue