Skip to content

Commit

Permalink
Merge branch 'printk-rework' into for-linus
Browse files Browse the repository at this point in the history
  • Loading branch information
Petr Mladek committed Jan 25, 2021
2 parents 535b6a1 + 08d60e5 commit 61bb17d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/printk/printk.c
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,7 @@ static size_t record_print_text(struct printk_record *r, bool syslog,
* not counted in the return value.
*/
if (buf_size > 0)
text[len] = 0;
r->text_buf[len] = 0;

return len;
}
Expand Down

0 comments on commit 61bb17d

Please sign in to comment.