From 4e27cad44dec5443617840bd6995a921cc2689aa Mon Sep 17 00:00:00 2001 From: Edward O'Callaghan Date: Sat, 12 Nov 2022 12:05:36 +1100 Subject: tree/: Make heap alloc checks err msg consistent Change-Id: Id84a9f15c33781efc494ed36a1c7cec82a0333d6 Signed-off-by: Edward O'Callaghan Reviewed-on: https://review.coreboot.org/c/flashrom/+/69472 Reviewed-by: Felix Singer Tested-by: build bot (Jenkins) --- layout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layout.c') diff --git a/layout.c b/layout.c index be88428f7..2d18f83db 100644 --- a/layout.c +++ b/layout.c @@ -145,7 +145,7 @@ int register_include_arg(struct layout_include_args **args, const char *arg) tmp = malloc(sizeof(*tmp)); if (tmp == NULL) { - msg_gerr("Could not allocate memory"); + msg_gerr("Out of memory"); goto error; } -- cgit v1.2.3