diff options
Diffstat (limited to 'net/decnet/dn_neigh.c')
-rw-r--r-- | net/decnet/dn_neigh.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/decnet/dn_neigh.c b/net/decnet/dn_neigh.c index 856636addd76..f3408f369fe3 100644 --- a/net/decnet/dn_neigh.c +++ b/net/decnet/dn_neigh.c | |||
@@ -590,7 +590,8 @@ static const struct file_operations dn_neigh_seq_fops = { | |||
590 | void __init dn_neigh_init(void) | 590 | void __init dn_neigh_init(void) |
591 | { | 591 | { |
592 | neigh_table_init(&dn_neigh_table); | 592 | neigh_table_init(&dn_neigh_table); |
593 | proc_net_fops_create(&init_net, "decnet_neigh", S_IRUGO, &dn_neigh_seq_fops); | 593 | proc_create("decnet_neigh", S_IRUGO, init_net.proc_net, |
594 | &dn_neigh_seq_fops); | ||
594 | } | 595 | } |
595 | 596 | ||
596 | void __exit dn_neigh_cleanup(void) | 597 | void __exit dn_neigh_cleanup(void) |