Showing the changes to kernel (1 of 1 file). Show all
Unified · Split
| @@ -1398,7 +1398,7 @@ static size_t record_print_text(struct printk_record *r, bool syslog, · 1397 unmodified lines | ||
| 1398 | 1398 | * not counted in the return value. |
| 1399 | 1399 | */ |
| 1400 | 1400 | if (buf_size > 0) |
| 1401 | − text[len] = 0; | |
| 1401 | + r->text_buf[len] = 0; | |
| 1402 | 1402 | |
| 1403 | 1403 | return len; |
| 1404 | 1404 | } |