summaryrefslogtreecommitdiffstats
path: root/internal.c
diff options
context:
space:
mode:
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;
}