This patch fixes 921 so that the log_level works again. Sorry about that.

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@942 f3766cd6-281f-0410-b1cd-43a5c92072e9
This commit is contained in:
Myles Watson 2008-10-22 18:31:42 +00:00
commit 6f2eff6807

View file

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