summaryrefslogtreecommitdiffstats
path: root/internal.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-10-25 10:39:05 +1100
committerFelix Singer <felixsinger@posteo.net>2022-11-09 15:02:23 +0000
commit80b1024dac6b8be4119467640f8e558009bc73d7 (patch)
tree0dabfc526df89d187461950fd3c39132f67630e8 /internal.c
parentd127668cae0eabab854862683128fb7245282547 (diff)
downloadflashrom-80b1024dac6b8be4119467640f8e558009bc73d7.tar.gz
flashrom-80b1024dac6b8be4119467640f8e558009bc73d7.tar.bz2
flashrom-80b1024dac6b8be4119467640f8e558009bc73d7.zip
tree/: Rename ERROR_FATAL to ERROR_FLASHROM_FATAL
Change-Id: I51ee789f9a1443bfff1e3c85c9b40b5023db6062 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/68776 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'internal.c')
-rw-r--r--internal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/internal.c b/internal.c
index 8c834e2c5..4f68456d2 100644
--- a/internal.c
+++ b/internal.c
@@ -289,7 +289,7 @@ static int internal_init(const struct programmer_cfg *cfg)
if (ret == -2) {
msg_perr("WARNING: No chipset found. Flash detection "
"will most likely fail.\n");
- } else if (ret == ERROR_FATAL) {
+ } else if (ret == ERROR_FLASHROM_FATAL) {
goto internal_init_exit;
}