main: Fix error message

This commit is contained in:
Pali Rohár committed 2012-08-24 10:33:57 +02:00
1 parent 36aff5fca4
commit 62aa414dc0
1 file changed
+1 -1
+1 -1
View File
@@ -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);