wimlib_add_image(): Fix variable name (--enable-debug only)
authorEric Biggers <ebiggers3@gmail.com>
Sat, 24 Nov 2012 04:57:34 +0000 (22:57 -0600)
committerEric Biggers <ebiggers3@gmail.com>
Sat, 24 Nov 2012 04:57:34 +0000 (22:57 -0600)
src/modify.c

index bb5ab8c..5b8fe41 100644 (file)
@@ -998,7 +998,7 @@ WIMLIBAPI int wimlib_add_image(WIMStruct *w, const char *source,
                extra_arg = NULL;
        }
 
-       DEBUG("Adding dentry tree from directory or NTFS volume `%s'.", dir);
+       DEBUG("Adding dentry tree from directory or NTFS volume `%s'.", source);
 
        if (!name || !*name) {
                ERROR("Must specify a non-empty string for the image name");