diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-02-18 22:47:34 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-02-20 22:42:29 +0100 |
commit | 1c4a6088ed13c449db16191890b20d20574e6ac0 (patch) | |
tree | 72169eeaf0fff1c5563c6889f452086cc0302376 /src/libsystemd/sd-netlink | |
parent | 7cde237777bb079787d436af253305bb08f0b066 (diff) |
sd-netlink: fix ifi_iftype type
The iftype is an unsigned short, and not just an unsigned.
Diffstat (limited to 'src/libsystemd/sd-netlink')
-rw-r--r-- | src/libsystemd/sd-netlink/rtnl-message.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libsystemd/sd-netlink/rtnl-message.c b/src/libsystemd/sd-netlink/rtnl-message.c index 090552f576..255526bf32 100644 --- a/src/libsystemd/sd-netlink/rtnl-message.c +++ b/src/libsystemd/sd-netlink/rtnl-message.c @@ -616,7 +616,7 @@ int sd_rtnl_message_link_get_flags(sd_netlink_message *m, unsigned *flags) { return 0; } -int sd_rtnl_message_link_get_type(sd_netlink_message *m, unsigned *type) { +int sd_rtnl_message_link_get_type(sd_netlink_message *m, unsigned short *type) { struct ifinfomsg *ifi; assert_return(m, -EINVAL); |