summaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-08-24 10:33:57 +0200
committerPali Rohár <pali.rohar@gmail.com>2012-08-24 10:33:57 +0200
commit62aa414dc0077c75cdfd080a8180d2d18961239f (patch)
treec6b9467c6af7d0e7ce0d5ba82e26bff04ee18c6c /src/main.c
parent36aff5fca48f74f1e00d0941bba150fca3a44e40 (diff)
download0xFFFF-62aa414dc0077c75cdfd080a8180d2d18961239f.tar.bz2
main: Fix error message
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);