diff options
Diffstat (limited to 'net/ipv4/raw.c')
-rw-r--r-- | net/ipv4/raw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/raw.c b/net/ipv4/raw.c index 6f08991409c3..5043a7d0c64e 100644 --- a/net/ipv4/raw.c +++ b/net/ipv4/raw.c | |||
@@ -1050,7 +1050,7 @@ static const struct file_operations raw_seq_fops = { | |||
1050 | 1050 | ||
1051 | static __net_init int raw_init_net(struct net *net) | 1051 | static __net_init int raw_init_net(struct net *net) |
1052 | { | 1052 | { |
1053 | if (!proc_net_fops_create(net, "raw", S_IRUGO, &raw_seq_fops)) | 1053 | if (!proc_create("raw", S_IRUGO, net->proc_net, &raw_seq_fops)) |
1054 | return -ENOMEM; | 1054 | return -ENOMEM; |
1055 | 1055 | ||
1056 | return 0; | 1056 | return 0; |