media: m2m-deinterlace: Fix misuse of strscpy
[linux-2.6-microblaze.git] / kernel / pid_namespace.c
index 6d726ce..a6a79f8 100644 (file)
@@ -291,14 +291,13 @@ static int pid_ns_ctl_handler(struct ctl_table *table, int write,
 }
 
 extern int pid_max;
-static int zero = 0;
 static struct ctl_table pid_ns_ctl_table[] = {
        {
                .procname = "ns_last_pid",
                .maxlen = sizeof(int),
                .mode = 0666, /* permissions are checked in the handler */
                .proc_handler = pid_ns_ctl_handler,
-               .extra1 = &zero,
+               .extra1 = SYSCTL_ZERO,
                .extra2 = &pid_max,
        },
        { }