Introduce msg_*warn
Also, unify all outputs of "Warning:" and "Error:" to use normal
capitalization instead of mixing it with all capitals.
Corresponding to flashrom svn r1643.
Signed-off-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Acked-by: Idwer Vollering <vidwer@gmail.com>
diff --git a/cbtable.c b/cbtable.c
index b859e68..e262a84 100644
--- a/cbtable.c
+++ b/cbtable.c
@@ -96,9 +96,9 @@
if (!strcasecmp(image_vendor, cb_vendor) && !strcasecmp(image_model, cb_model)) {
msg_pdbg2("This coreboot image matches this mainboard.\n");
} else {
- msg_pinfo("WARNING: This coreboot image (%s:%s) does not appear to\n"
- " be correct for the detected mainboard (%s:%s).\n",
- image_vendor, image_model, cb_vendor, cb_model);
+ msg_perr("This coreboot image (%s:%s) does not appear to\n"
+ "be correct for the detected mainboard (%s:%s).\n",
+ image_vendor, image_model, cb_vendor, cb_model);
return -1;
}