aboutsummaryrefslogtreecommitdiff
path: root/common
diff options
context:
space:
mode:
authorTom Rini2021-05-18 14:17:54 -0400
committerTom Rini2021-05-18 14:17:54 -0400
commit428bec7cf956c3558bbdfda4d2ba23beb73a68ba (patch)
tree290ddd25fb619aaf112e89e32a4cca181e922e3e /common
parent7a1638c263508f7ff67fc82af5ea8072dcb783e2 (diff)
parentaf02975eb9e2b1a963b0fb03869ccf1bbf30caa7 (diff)
Merge branch '2021-05-17-assorted-fixes'
Diffstat (limited to 'common')
-rw-r--r--common/cli_hush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/cli_hush.c b/common/cli_hush.c
index 6cff3b11850..1467ff81b35 100644
--- a/common/cli_hush.c
+++ b/common/cli_hush.c
@@ -3325,7 +3325,7 @@ static void *xmalloc(size_t size)
void *p = NULL;
if (!(p = malloc(size))) {
- printf("ERROR : memory not allocated\n");
+ printf("ERROR : xmalloc failed\n");
for(;;);
}
return p;
@@ -3336,7 +3336,7 @@ static void *xrealloc(void *ptr, size_t size)
void *p = NULL;
if (!(p = realloc(ptr, size))) {
- printf("ERROR : memory not allocated\n");
+ printf("ERROR : xrealloc failed\n");
for(;;);
}
return p;