Commit 61bb17da authored by Petr Mladek's avatar Petr Mladek

Merge branch 'printk-rework' into for-linus

parents 535b6a12 08d60e59
...@@ -1398,7 +1398,7 @@ static size_t record_print_text(struct printk_record *r, bool syslog, ...@@ -1398,7 +1398,7 @@ static size_t record_print_text(struct printk_record *r, bool syslog,
* not counted in the return value. * not counted in the return value.
*/ */
if (buf_size > 0) if (buf_size > 0)
text[len] = 0; r->text_buf[len] = 0;
return len; return len;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment