mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-29 18:30:11 +01:00
platform: change temp variable name in NLA_PUT_TYPE()
__tmp clashes with htole16() on s390x. Fixes:4120ad2431https://github.com/NetworkManager/NetworkManager/pull/151 (cherry picked from commit4888ee7e83)
This commit is contained in:
parent
b693daf6ba
commit
fa5fa51f4b
1 changed files with 2 additions and 2 deletions
|
|
@ -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) \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue