From c6fa32d2b5c08d2fcc92fee2974a3fc02a3ca1f7 Mon Sep 17 00:00:00 2001 From: Stefan Tauner Date: Fri, 4 Jan 2013 22:54:07 +0000 Subject: 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 Acked-by: Idwer Vollering --- board_enable.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'board_enable.c') diff --git a/board_enable.c b/board_enable.c index b6834e0..72e0f81 100644 --- a/board_enable.c +++ b/board_enable.c @@ -546,7 +546,7 @@ void w83697xx_memw_enable(uint16_t port) sio_mask(port, 0x24, 0x28, 0x38); } else { - msg_perr("WARNING: Flash interface in use by GPIO!\n"); + msg_pwarn("Warning: Flash interface in use by GPIO!\n"); } } else { msg_pinfo("BIOS ROM is disabled\n"); @@ -2556,8 +2556,8 @@ const static struct board_match *board_match_pci_ids(enum board_match_phase phas if (board->dmi_pattern) { if (!has_dmi_support) { - msg_perr("WARNING: Can't autodetect %s %s, DMI info unavailable.\n", - board->vendor_name, board->board_name); + msg_pwarn("Warning: Can't autodetect %s %s, DMI info unavailable.\n", + board->vendor_name, board->board_name); msg_pinfo("Please supply the board vendor and model name with the " "-p internal:mainboard=: option.\n"); continue; @@ -2582,14 +2582,14 @@ static int board_enable_safetycheck(const struct board_match *board) return 0; if (!force_boardenable) { - msg_pinfo("WARNING: The mainboard-specific code for %s %s has not been tested,\n" + msg_pwarn("Warning: The mainboard-specific code for %s %s has not been tested,\n" "and thus will not be executed by default. Depending on your hardware,\n" "erasing, writing or even probing can fail without running this code.\n\n" "Please see the man page (section PROGRAMMER SPECIFIC INFO, subsection\n" "\"internal programmer\") for details.\n", board->vendor_name, board->board_name); return 1; } - msg_pinfo("NOTE: Running an untested board enable procedure.\n" + msg_pwarn("NOTE: Running an untested board enable procedure.\n" "Please report success/failure to flashrom@flashrom.org.\n"); return 0; } -- cgit v1.1