diff options
Diffstat (limited to 'net/ipv6/anycast.c')
-rw-r--r-- | net/ipv6/anycast.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/anycast.c b/net/ipv6/anycast.c index 921b8b398a8c..5a8c00983de5 100644 --- a/net/ipv6/anycast.c +++ b/net/ipv6/anycast.c | |||
@@ -509,7 +509,7 @@ static const struct file_operations ac6_seq_fops = { | |||
509 | 509 | ||
510 | int __net_init ac6_proc_init(struct net *net) | 510 | int __net_init ac6_proc_init(struct net *net) |
511 | { | 511 | { |
512 | if (!proc_net_fops_create(net, "anycast6", S_IRUGO, &ac6_seq_fops)) | 512 | if (!proc_create("anycast6", S_IRUGO, net->proc_net, &ac6_seq_fops)) |
513 | return -ENOMEM; | 513 | return -ENOMEM; |
514 | 514 | ||
515 | return 0; | 515 | return 0; |