aboutsummaryrefslogtreecommitdiffstats
path: root/net/rose
diff options
context:
space:
mode:
Diffstat (limited to 'net/rose')
-rw-r--r--net/rose/sysctl_net_rose.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/rose/sysctl_net_rose.c b/net/rose/sysctl_net_rose.c
index df6d9dac2186..02b73979535b 100644
--- a/net/rose/sysctl_net_rose.c
+++ b/net/rose/sysctl_net_rose.c
@@ -126,10 +126,10 @@ static struct ctl_path rose_path[] = {
126 126
127void __init rose_register_sysctl(void) 127void __init rose_register_sysctl(void)
128{ 128{
129 rose_table_header = register_sysctl_paths(rose_path, rose_table); 129 rose_table_header = register_net_sysctl_table(&init_net, rose_path, rose_table);
130} 130}
131 131
132void rose_unregister_sysctl(void) 132void rose_unregister_sysctl(void)
133{ 133{
134 unregister_sysctl_table(rose_table_header); 134 unregister_net_sysctl_table(rose_table_header);
135} 135}