mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 22:21:16 +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
4
atavia.c
4
atavia.c
@ -151,14 +151,14 @@ static int atavia_init(const struct programmer_cfg *cfg)
|
||||
if (strlen(arg) == 0) {
|
||||
msg_perr("Missing argument for offset.\n");
|
||||
free(arg);
|
||||
return ERROR_FATAL;
|
||||
return ERROR_FLASHROM_FATAL;
|
||||
}
|
||||
char *endptr;
|
||||
atavia_offset = (void *)strtoul(arg, &endptr, 0);
|
||||
if (*endptr) {
|
||||
msg_perr("Error: Invalid offset specified: \"%s\".\n", arg);
|
||||
free(arg);
|
||||
return ERROR_FATAL;
|
||||
return ERROR_FLASHROM_FATAL;
|
||||
}
|
||||
msg_pinfo("Mapping addresses to base %p.\n", atavia_offset);
|
||||
}
|
||||
|
Reference in New Issue
Block a user