diff options
Diffstat (limited to 'net/ipv6/raw.c')
-rw-r--r-- | net/ipv6/raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/raw.c b/net/ipv6/raw.c index 70fa81449997..ff42fb309eec 100644 --- a/net/ipv6/raw.c +++ b/net/ipv6/raw.c | |||
@@ -1292,7 +1292,7 @@ static const struct file_operations raw6_seq_fops = { | |||
1292 | 1292 | ||
1293 | static int __net_init raw6_init_net(struct net *net) | 1293 | static int __net_init raw6_init_net(struct net *net) |
1294 | { | 1294 | { |
1295 | if (!proc_net_fops_create(net, "raw6", S_IRUGO, &raw6_seq_fops)) | 1295 | if (!proc_create("raw6", S_IRUGO, net->proc_net, &raw6_seq_fops)) |
1296 | return -ENOMEM; | 1296 | return -ENOMEM; |
1297 | 1297 | ||
1298 | return 0; | 1298 | return 0; |