summaryrefslogtreecommitdiff
path: root/networking/libiproute
diff options
context:
space:
mode:
authorDenys Vlasenko2010-05-27 13:35:04 +0200
committerDenys Vlasenko2010-05-27 13:35:04 +0200
commiteb29e91dc69dc3a93af880268f5cbe86a97fdc64 (patch)
treeaec63b1370526ff50b52a6677e7d35458cf065eb /networking/libiproute
parent76c936f5221f4cbd5466cde8716d56fb7dce62e1 (diff)
downloadbusybox-eb29e91dc69dc3a93af880268f5cbe86a97fdc64.zip
busybox-eb29e91dc69dc3a93af880268f5cbe86a97fdc64.tar.gz
trivial fixes: use uint8_t, not __u8; fix defconfig for fgconsole
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/libiproute')
-rw-r--r--networking/libiproute/ipaddress.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index 601b348..a603053 100644
--- a/networking/libiproute/ipaddress.c
+++ b/networking/libiproute/ipaddress.c
@@ -169,7 +169,7 @@ static NOINLINE int print_linkinfo(const struct nlmsghdr *n)
"UNKNOWN\0""NOTPRESENT\0""DOWN\0""LOWERLAYERDOWN\0"
"TESTING\0""DORMANT\0""UP\0";
printf("state %s ", nth_string(operstate_labels,
- *(__u8 *)RTA_DATA(tb[IFLA_OPERSTATE])));
+ *(uint8_t *)RTA_DATA(tb[IFLA_OPERSTATE])));
}
if (G_filter.showqueue)
print_queuelen((char*)RTA_DATA(tb[IFLA_IFNAME]));