|
@@ -666,7 +666,7 @@ asmlinkage int vprintk(const char *fmt, va_list args)
|
|
|
}
|
|
|
/* Emit the output into the temporary buffer */
|
|
|
printed_len += vscnprintf(printk_buf + printed_len,
|
|
|
- sizeof(printk_buf), fmt, args);
|
|
|
+ sizeof(printk_buf) - printed_len, fmt, args);
|
|
|
|
|
|
/*
|
|
|
* Copy the output into log_buf. If the caller didn't provide
|