mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-08 13:00:22 +01: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue