diff options
Diffstat (limited to 'net/unix/af_unix.c')
-rw-r--r-- | net/unix/af_unix.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index 0c612361c153..0c479b6f407c 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -2402,7 +2402,7 @@ static int __net_init unix_net_init(struct net *net) | |||
2402 | goto out; | 2402 | goto out; |
2403 | 2403 | ||
2404 | #ifdef CONFIG_PROC_FS | 2404 | #ifdef CONFIG_PROC_FS |
2405 | if (!proc_net_fops_create(net, "unix", 0, &unix_seq_fops)) { | 2405 | if (!proc_create("unix", 0, net->proc_net, &unix_seq_fops)) { |
2406 | unix_sysctl_unregister(net); | 2406 | unix_sysctl_unregister(net); |
2407 | goto out; | 2407 | goto out; |
2408 | } | 2408 | } |