main: Fix error message
This commit is contained in:
1 parent
36aff5fca4
commit
62aa414dc0
1 file changed
+1
-1
+1
-1
@@ -170,7 +170,7 @@ static void parse_image_arg(char * arg, struct image_list ** image_first) {
|
|||||||
if ( stat(arg, &st) == 0 ) {
|
if ( stat(arg, &st) == 0 ) {
|
||||||
image = image_alloc_from_file(arg, NULL, NULL, NULL, NULL, NULL);
|
image = image_alloc_from_file(arg, NULL, NULL, NULL, NULL, NULL);
|
||||||
if ( ! image ) {
|
if ( ! image ) {
|
||||||
ERROR("Cannot load image file %s", file);
|
ERROR("Cannot load image file %s", arg);
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
image_list_add(image_first, image);
|
image_list_add(image_first, image);
|
||||||
|
|||||||
Reference in new issue
Block a user