commit | db13d1f8b3e7d2c9e612f11e65ae1e25bb2156a7 | [log] [tgz] |
---|---|---|
author | Brendan Jackman <brendan.jackman@arm.com> | Mon Apr 25 15:35:35 2016 +0800 |
committer | Brendan Jackman <brendan.jackman@arm.com> | Wed Apr 27 15:06:33 2016 +0800 |
tree | a4f74368776adf81ecfe506e6f48afd2f9c9d1fb | |
parent | c476155c46c77c00c4c43372dd1d3af54c9c3d4c [diff] |
fip_create: Fix exit status for missing output filename Change-Id: I0d298eea9eaf47121c87637c7395e5d9868aa272
diff --git a/tools/fip_create/fip_create.c b/tools/fip_create/fip_create.c index 7bce348..48cb3f6 100644 --- a/tools/fip_create/fip_create.c +++ b/tools/fip_create/fip_create.c
@@ -811,7 +811,7 @@ if (fip_filename == NULL) { printf("ERROR: Missing FIP filename\n"); print_usage(); - return 0; + return EINVAL; } /* Unpack images from FIP always takes precedence over packaging. In