]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Add missing argument for archive_set_error to match format string.
authorJoerg Sonnenberger <joerg.sonnenberger@gmail.com>
Thu, 25 Feb 2010 15:49:41 +0000 (10:49 -0500)
committerJoerg Sonnenberger <joerg.sonnenberger@gmail.com>
Thu, 25 Feb 2010 15:49:41 +0000 (10:49 -0500)
SVN-Revision: 1985

libarchive/archive_write_disk.c

index 9a014689ba29b334411cfacca2e15069d52194b2..fcab99612b8719f9bd2f2403f668c3281f82c4e6 100644 (file)
@@ -1806,7 +1806,8 @@ create_dir(struct archive_write_disk *a, char *path)
                if (unlink(path) != 0) {
                        archive_set_error(&a->archive, errno,
                            "Can't create directory '%s': "
-                           "Conflicting file cannot be removed");
+                           "Conflicting file cannot be removed",
+                           path);
                        return (ARCHIVE_FAILED);
                }
        } else if (errno != ENOENT && errno != ENOTDIR) {