[coreboot] r942 - coreboot-v3/lib

svn at coreboot.org svn at coreboot.org
Wed Oct 22 20:31:42 CEST 2008


Author: myles
Date: 2008-10-22 20:31:42 +0200 (Wed, 22 Oct 2008)
New Revision: 942

Modified:
   coreboot-v3/lib/console.c
Log:
This patch fixes 921 so that the log_level works again.  Sorry about that.

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-21 03:20:05 UTC (rev 941)
+++ coreboot-v3/lib/console.c	2008-10-22 18:31:42 UTC (rev 942)
@@ -138,13 +138,13 @@
 	console_tx_byte('>', (void *)0);
 
 	i = 3;
+#else
+	i = 0;
+#endif
 
 	if (msg_level > console_loglevel()) {
 		return 0;
 	}
-#else
-	i = 0;
-#endif
 
 	va_start(args, fmt);
 	i += vtxprintf(console_tx_byte, (void *)0, fmt, args);





More information about the coreboot mailing list