diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index ad0425a8f7099d27ee46e95b833897eb2d4dc475..e5102ea6e1042764b6357ef9630f42df4ef8782d 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -2221,7 +2221,7 @@ int sysctl_string(ctl_table *table, int __user *name, int nlen,
 			len--;
 		((char *) table->data)[len] = 0;
 	}
-	return 0;
+	return 1;
 }
 
 /*