diff --git a/kernel/sysctl.c b/kernel/sysctl.c index 36547dddcdb83eab551d0ee60fa34218067d1028..d37d9dd8f4635069bf65bd2a10b00e1595ae7b64 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 *i = val; } else { val = convdiv * (*i) / convmul; - if (!first) + if (!first) { err = proc_put_char(&buffer, &left, '\t'); + if (err) + break; + } err = proc_put_long(&buffer, &left, val, false); if (err) break;