'sysctl_max_map_count' should be non-negative
[linux-2.6.git] / kernel / sysctl.c
index 60fc931..45e4bef 100644 (file)
@@ -1131,7 +1131,8 @@ static struct ctl_table vm_table[] = {
                .data           = &sysctl_max_map_count,
                .maxlen         = sizeof(sysctl_max_map_count),
                .mode           = 0644,
-               .proc_handler   = proc_dointvec
+               .proc_handler   = proc_dointvec,
+               .extra1         = &zero,
        },
 #else
        {