diff options
Diffstat (limited to 'kernel/sysctl.c')
-rw-r--r-- | kernel/sysctl.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 36547dddcdb8..d37d9dd8f463 100644 --- a/kernel/sysctl.c +++ b/kernel/sysctl.c | |||
@@ -2222,8 +2222,11 @@ static int __do_proc_doulongvec_minmax(void *data, struct ctl_table *table, int | |||
2222 | *i = val; | 2222 | *i = val; |
2223 | } else { | 2223 | } else { |
2224 | val = convdiv * (*i) / convmul; | 2224 | val = convdiv * (*i) / convmul; |
2225 | if (!first) | 2225 | if (!first) { |
2226 | err = proc_put_char(&buffer, &left, '\t'); | 2226 | err = proc_put_char(&buffer, &left, '\t'); |
2227 | if (err) | ||
2228 | break; | ||
2229 | } | ||
2227 | err = proc_put_long(&buffer, &left, val, false); | 2230 | err = proc_put_long(&buffer, &left, val, false); |
2228 | if (err) | 2231 | if (err) |
2229 | break; | 2232 | break; |