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:
parent
979bdb5ed0
commit
6f2eff6807
1 changed files with 3 additions and 3 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue