Skip to content

Commit 61bb17d

Browse files
committed
Merge branch 'printk-rework' into for-linus
2 parents 535b6a1 + 08d60e5 commit 61bb17d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kernel/printk/printk.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1398,7 +1398,7 @@ static size_t record_print_text(struct printk_record *r, bool syslog,
13981398
* not counted in the return value.
13991399
*/
14001400
if (buf_size > 0)
1401-
text[len] = 0;
1401+
r->text_buf[len] = 0;
14021402

14031403
return len;
14041404
}

0 commit comments

Comments
 (0)