diff options
Diffstat (limited to 'net/dccp/probe.c')
-rw-r--r-- | net/dccp/probe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/probe.c b/net/dccp/probe.c index 0a8d6ebd9b45..d183589b77e9 100644 --- a/net/dccp/probe.c +++ b/net/dccp/probe.c | |||
@@ -171,7 +171,7 @@ static __init int dccpprobe_init(void) | |||
171 | spin_lock_init(&dccpw.lock); | 171 | spin_lock_init(&dccpw.lock); |
172 | if (kfifo_alloc(&dccpw.fifo, bufsize, GFP_KERNEL)) | 172 | if (kfifo_alloc(&dccpw.fifo, bufsize, GFP_KERNEL)) |
173 | return ret; | 173 | return ret; |
174 | if (!proc_net_fops_create(&init_net, procname, S_IRUSR, &dccpprobe_fops)) | 174 | if (!proc_create(procname, S_IRUSR, init_net.proc_net, &dccpprobe_fops)) |
175 | goto err0; | 175 | goto err0; |
176 | 176 | ||
177 | ret = setup_jprobe(); | 177 | ret = setup_jprobe(); |