summaryrefslogtreecommitdiffstats
path: root/net/rose/sysctl_net_rose.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/rose/sysctl_net_rose.c')
-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[] = {
void __init rose_register_sysctl(void)
{
- rose_table_header = register_sysctl_paths(rose_path, rose_table);
+ rose_table_header = register_net_sysctl_table(&init_net, rose_path, rose_table);
}
void rose_unregister_sysctl(void)
{
- unregister_sysctl_table(rose_table_header);
+ unregister_net_sysctl_table(rose_table_header);
}