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:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user