aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--kernel/sysctl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index 7abe9704e75a..6d7147cf66bb 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -1875,7 +1875,7 @@ static int __do_proc_dointvec(void *tbl_data, ctl_table *table,
1875 p = buf; 1875 p = buf;
1876 if (*p == '-' && left > 1) { 1876 if (*p == '-' && left > 1) {
1877 neg = 1; 1877 neg = 1;
1878 left--, p++; 1878 p++;
1879 } 1879 }
1880 if (*p < '0' || *p > '9') 1880 if (*p < '0' || *p > '9')
1881 break; 1881 break;
@@ -2126,7 +2126,7 @@ static int __do_proc_doulongvec_minmax(void *data, ctl_table *table, int write,
2126 p = buf; 2126 p = buf;
2127 if (*p == '-' && left > 1) { 2127 if (*p == '-' && left > 1) {
2128 neg = 1; 2128 neg = 1;
2129 left--, p++; 2129 p++;
2130 } 2130 }
2131 if (*p < '0' || *p > '9') 2131 if (*p < '0' || *p > '9')
2132 break; 2132 break;