1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-02 22:43:17 +02:00

fixup! Add a convenient libflashrom interface

Update `enum flashrom_log_level` to match `enum msglevel` again.

They diverged already. Found by clang.

Change-Id: Icf175c5f2a415365bd756ca813e724f6797459b2
Signed-off-by: Nico Huber <nico.huber@secunet.com>
Reviewed-on: https://review.coreboot.org/20267
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: David Hendricks <david.hendricks@gmail.com>
This commit is contained in:
Nico Huber
2017-06-19 12:38:39 +02:00
committed by Nico Huber
parent 1b172f2da5
commit e8e7a80e6b
2 changed files with 6 additions and 5 deletions

View File

@ -90,7 +90,7 @@ int print(const enum msglevel level, const char *const fmt, ...)
int ret;
va_list args;
va_start(args, fmt);
ret = global_log_callback(level, fmt, args);
ret = global_log_callback((enum flashrom_log_level)level, fmt, args);
va_end(args);
return ret;
}