|
@@ -1521,7 +1521,7 @@ int sysctl_check_table(struct nsproxy *namespaces, struct ctl_table *table)
|
|
|
if (!table->ctl_name && table->strategy)
|
|
|
set_fail(&fail, table, "Strategy without ctl_name");
|
|
|
#endif
|
|
|
-#ifdef CONFIG_PROC_FS
|
|
|
+#ifdef CONFIG_PROC_SYSCTL
|
|
|
if (table->procname && !table->proc_handler)
|
|
|
set_fail(&fail, table, "No proc_handler");
|
|
|
#endif
|