mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +02:00
Fix sparse warning: Unknown escape %
This patch fixes wrong escaping of %. In print.c %%2b is correct instead of \%2b ("%%2b"=%2b=+) In board_enable.c %d is correct instead of \%d. Corresponding to flashrom svn r1256. Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Acked-by: Stefan Reinauer <stepan@coreboot.org>
This commit is contained in:

committed by
Stefan Reinauer

parent
73f8ec8b1e
commit
3d3fd6ab2c
@ -1135,7 +1135,7 @@ static int intel_piix4_gpo_set(unsigned int gpo, int raise)
|
||||
|
||||
if ( (((1 << gpo) & nonmuxed_gpos) == 0) &&
|
||||
(pci_read_word(dev, piix4_gpo[gpo].reg) & piix4_gpo[gpo].mask) != piix4_gpo[gpo].value ) {
|
||||
msg_perr("\nERROR: PIIX4 GPO\%d not programmed for output.\n", gpo);
|
||||
msg_perr("\nERROR: PIIX4 GPO%d not programmed for output.\n", gpo);
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user