mirror of
https://review.coreboot.org/flashrom.git
synced 2025-06-30 21:52:36 +02:00
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>
This commit is contained in:

committed by
Felix Singer

parent
d127668cae
commit
80b1024dac
@ -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);
|
||||
|
Reference in New Issue
Block a user