[coreboot] r944 - coreboot-v3/lib
svn at coreboot.org
svn at coreboot.org
Wed Oct 22 21:18:04 CEST 2008
Author: myles
Date: 2008-10-22 21:18:04 +0200 (Wed, 22 Oct 2008)
New Revision: 944
Modified:
coreboot-v3/lib/console.c
Log:
This patch fixes the fix! Sorry again.
Signed-off-by: Myles Watson <mylesgw at gmail.com>
Acked-by: Myles Watson <mylesgw at gmail.com>
Thanks,
Myles
Modified: coreboot-v3/lib/console.c
===================================================================
--- coreboot-v3/lib/console.c 2008-10-22 18:55:55 UTC (rev 943)
+++ coreboot-v3/lib/console.c 2008-10-22 19:18:04 UTC (rev 944)
@@ -132,6 +132,10 @@
va_list args;
int i;
+ if (msg_level > console_loglevel()) {
+ return 0;
+ }
+
#ifdef CONFIG_CONSOLE_PREPEND_LOG_LEVEL
console_tx_byte('<', (void *)0);
console_tx_byte(msg_level + '0', (void *)0);
@@ -142,10 +146,6 @@
i = 0;
#endif
- if (msg_level > console_loglevel()) {
- return 0;
- }
-
va_start(args, fmt);
i += vtxprintf(console_tx_byte, (void *)0, fmt, args);
va_end(args);
More information about the coreboot
mailing list