[git commit master] trivial fixes: use uint8_t, not __u8; fix defconfig for fgconsole

Denys Vlasenko vda.linux at googlemail.com
Thu May 27 11:35:04 UTC 2010


commit: http://git.busybox.net/busybox/commit/?id=eb29e91dc69dc3a93af880268f5cbe86a97fdc64
branch: http://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 networking/libiproute/ipaddress.c |    2 +-
 scripts/defconfig                 |    2 +-
 2 files changed, 2 insertions(+), 2 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]));
diff --git a/scripts/defconfig b/scripts/defconfig
index 8b88f79..896571b 100644
--- a/scripts/defconfig
+++ b/scripts/defconfig
@@ -287,7 +287,7 @@ CONFIG_FEATURE_MD5_SHA1_SUM_CHECK=y
 # Console Utilities
 #
 CONFIG_CHVT=y
-CONFIG_FGCONSOLE=n
+CONFIG_FGCONSOLE=y
 CONFIG_CLEAR=y
 CONFIG_DEALLOCVT=y
 CONFIG_DUMPKMAP=y
-- 
1.6.3.3



More information about the busybox-cvs mailing list