aboutsummaryrefslogtreecommitdiffstats
path: root/flashrom.c
diff options
context:
space:
mode:
Diffstat (limited to 'flashrom.c')
-rw-r--r--flashrom.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/flashrom.c b/flashrom.c
index db4dd7d0..e2452c9a 100644
--- a/flashrom.c
+++ b/flashrom.c
@@ -154,7 +154,7 @@ int programmer_init(const struct programmer_entry *prog, const char *param)
cfg.params = strdup(param);
if (!cfg.params) {
msg_perr("Out of memory!\n");
- return ERROR_FATAL;
+ return ERROR_FLASHROM_FATAL;
}
} else {
cfg.params = NULL;
@@ -175,7 +175,7 @@ int programmer_init(const struct programmer_entry *prog, const char *param)
*/
msg_perr("Unhandled programmer parameters: %s\n", cfg.params);
msg_perr("Aborting.\n");
- ret = ERROR_FATAL;
+ ret = ERROR_FLASHROM_FATAL;
}
}
free(cfg.params);