summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index bcea89a..fb701ac 100644
--- a/src/main.c
+++ b/src/main.c
@@ -170,7 +170,7 @@ static void parse_image_arg(char * arg, struct image_list ** image_first) {
if ( stat(arg, &st) == 0 ) {
image = image_alloc_from_file(arg, NULL, NULL, NULL, NULL, NULL);
if ( ! image ) {
- ERROR("Cannot load image file %s", file);
+ ERROR("Cannot load image file %s", arg);
exit(1);
}
image_list_add(image_first, image);