]> err.no Git - linux-2.6/commitdiff
[SYSCTL]: Fix warning for token-ring from sysctl checker
authorOlof Johansson <olof@lixom.net>
Wed, 14 Nov 2007 05:15:24 +0000 (21:15 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 14 Nov 2007 05:15:24 +0000 (21:15 -0800)
As seen when booting ppc64_defconfig:

sysctl table check failed: /net/token-ring .3.14 procname does not match binary path procname

Signed-off-by: Olof Johansson <olof@lixom.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
kernel/sysctl_check.c

index 5a2f2b2bf888de50e6ee3780d9a2b4cd991ee52a..4abc6d2306f451e8da9141e753b7b517045edda6 100644 (file)
@@ -738,7 +738,7 @@ static struct trans_ctl_table trans_net_table[] = {
        { NET_ROSE,             "rose",         trans_net_rose_table },
        { NET_IPV6,             "ipv6",         trans_net_ipv6_table },
        { NET_X25,              "x25",          trans_net_x25_table },
-       { NET_TR,               "tr",           trans_net_tr_table },
+       { NET_TR,               "token-ring",   trans_net_tr_table },
        { NET_DECNET,           "decnet",       trans_net_decnet_table },
        /*  NET_ECONET not used */
        { NET_SCTP,             "sctp",         trans_net_sctp_table },