projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/roland...
[cascardo/linux.git]
/
arch
/
x86
/
kernel
/
early_printk.c
diff --git
a/arch/x86/kernel/early_printk.c
b/arch/x86/kernel/early_printk.c
index
23b138e
..
504ad19
100644
(file)
--- a/
arch/x86/kernel/early_printk.c
+++ b/
arch/x86/kernel/early_printk.c
@@
-886,7
+886,7
@@
asmlinkage void early_printk(const char *fmt, ...)
va_list ap;
va_start(ap, fmt);
- n = vscnprintf(buf,
512
, fmt, ap);
+ n = vscnprintf(buf,
sizeof(buf)
, fmt, ap);
early_console->write(early_console, buf, n);
va_end(ap);
}