aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-05-27 13:35:04 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2010-05-27 13:35:04 +0200
commiteb29e91dc69dc3a93af880268f5cbe86a97fdc64 (patch)
treeaec63b1370526ff50b52a6677e7d35458cf065eb
parent76c936f5221f4cbd5466cde8716d56fb7dce62e1 (diff)
downloadbusybox-w32-eb29e91dc69dc3a93af880268f5cbe86a97fdc64.tar.gz
busybox-w32-eb29e91dc69dc3a93af880268f5cbe86a97fdc64.tar.bz2
busybox-w32-eb29e91dc69dc3a93af880268f5cbe86a97fdc64.zip
trivial fixes: use uint8_t, not __u8; fix defconfig for fgconsole
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--networking/libiproute/ipaddress.c2
-rw-r--r--scripts/defconfig2
2 files changed, 2 insertions, 2 deletions
diff --git a/networking/libiproute/ipaddress.c b/networking/libiproute/ipaddress.c
index 601b34816..a603053e1 100644
--- a/networking/libiproute/ipaddress.c
+++ b/networking/libiproute/ipaddress.c
@@ -169,7 +169,7 @@ static NOINLINE int print_linkinfo(const struct nlmsghdr *n)
169 "UNKNOWN\0""NOTPRESENT\0""DOWN\0""LOWERLAYERDOWN\0" 169 "UNKNOWN\0""NOTPRESENT\0""DOWN\0""LOWERLAYERDOWN\0"
170 "TESTING\0""DORMANT\0""UP\0"; 170 "TESTING\0""DORMANT\0""UP\0";
171 printf("state %s ", nth_string(operstate_labels, 171 printf("state %s ", nth_string(operstate_labels,
172 *(__u8 *)RTA_DATA(tb[IFLA_OPERSTATE]))); 172 *(uint8_t *)RTA_DATA(tb[IFLA_OPERSTATE])));
173 } 173 }
174 if (G_filter.showqueue) 174 if (G_filter.showqueue)
175 print_queuelen((char*)RTA_DATA(tb[IFLA_IFNAME])); 175 print_queuelen((char*)RTA_DATA(tb[IFLA_IFNAME]));
diff --git a/scripts/defconfig b/scripts/defconfig
index 8b88f79b3..896571bd9 100644
--- a/scripts/defconfig
+++ b/scripts/defconfig
@@ -287,7 +287,7 @@ CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y
287# Console Utilities 287# Console Utilities
288# 288#
289CONFIG_CHVT=y 289CONFIG_CHVT=y
290CONFIG_FGCONSOLE=n 290CONFIG_FGCONSOLE=y
291CONFIG_CLEAR=y 291CONFIG_CLEAR=y
292CONFIG_DEALLOCVT=y 292CONFIG_DEALLOCVT=y
293CONFIG_DUMPKMAP=y 293CONFIG_DUMPKMAP=y