trivial fixes: use uint8_t, not __u8; fix defconfig for fgconsole
authorDenys Vlasenko <vda.linux@googlemail.com>
Thu, 27 May 2010 11:35:04 +0000 (13:35 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Thu, 27 May 2010 11:35:04 +0000 (13:35 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/libiproute/ipaddress.c
scripts/defconfig

index 601b34816e0e0141d1744f50276b600d4f158021..a603053e10c866f0966929ab870dd4c9707d9c99 100644 (file)
@@ -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]));
index 8b88f79b33e7308d18d2dc5ddf635a08e3434b0f..896571bd9e1753e4daf766935a61ef57ae3ab811 100644 (file)
@@ -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