This patch fixes the fix! Sorry again.

Signed-off-by: Myles Watson <mylesgw@gmail.com>
Acked-by: Myles Watson <mylesgw@gmail.com>

Thanks,
Myles


git-svn-id: svn://coreboot.org/repository/coreboot-v3@944 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Myles Watson 2008-10-22 19:18:04 +00:00
parent 81b79f9052
commit 5056b10174

View file

@ -132,6 +132,10 @@ int printk(int msg_level, const char *fmt, ...)
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 @@ int printk(int msg_level, const char *fmt, ...)
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);