rimage: Fix error message content after adsp malloc fail

Message should reflect error root cause.

Signed-off-by: Karol Trzcinski <karolx.trzcinski@linux.intel.com>
This commit is contained in:
Karol Trzcinski 2021-09-01 08:33:33 +02:00 committed by Daniel Baluta
parent 3e20076f97
commit fc4d7b8519
1 changed files with 1 additions and 1 deletions

View File

@ -142,7 +142,7 @@ int main(int argc, char *argv[])
/* find machine */
heap_adsp = malloc(sizeof(struct adsp));
if (!heap_adsp) {
fprintf(stderr, "error: cannot parse build version\n");
fprintf(stderr, "error: memory allocation for adsp struct failed\n");
return -ENOMEM;
}
image.adsp = heap_adsp;