summaryrefslogtreecommitdiffstats
path: root/layout.c
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2022-11-12 12:05:36 +1100
committerFelix Singer <felixsinger@posteo.net>2022-12-06 10:15:41 +0000
commit4e27cad44dec5443617840bd6995a921cc2689aa (patch)
tree1b0cf2738df292a56cd6e376ba0905f0b02dc2eb /layout.c
parent49bcb78006d88189bb13513982f3fa734b441641 (diff)
downloadflashrom-4e27cad44dec5443617840bd6995a921cc2689aa.tar.gz
flashrom-4e27cad44dec5443617840bd6995a921cc2689aa.tar.bz2
flashrom-4e27cad44dec5443617840bd6995a921cc2689aa.zip
tree/: Make heap alloc checks err msg consistent
Change-Id: Id84a9f15c33781efc494ed36a1c7cec82a0333d6 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/69472 Reviewed-by: Felix Singer <felixsinger@posteo.net> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Diffstat (limited to 'layout.c')
-rw-r--r--layout.c2
1 files changed, 1 insertions, 1 deletions
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;
}