mirror of
https://github.com/fail0verflow/switch-coreboot.git
synced 2025-05-04 01:39:18 -04:00
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:
parent
81b79f9052
commit
5056b10174
1 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue