]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Clarify an error message.
authorTim Kientzle <kientzle@gmail.com>
Sun, 22 Jan 2012 19:53:42 +0000 (14:53 -0500)
committerTim Kientzle <kientzle@gmail.com>
Sun, 22 Jan 2012 19:53:42 +0000 (14:53 -0500)
SVN-Revision: 4189

libarchive/archive_write_disk_posix.c

index 9937930dc90113827bef0f58e14e1e4363015f19..24e6fe71e6400b57dc5cf98e94fdc811c2da2d31 100644 (file)
@@ -1163,7 +1163,7 @@ restore_entry(struct archive_write_disk *a)
                        /* A dir is in the way of a non-dir, rmdir it. */
                        if (rmdir(a->name) != 0) {
                                archive_set_error(&a->archive, errno,
-                                   "Can't remove already-existing dir");
+                                   "Can't replace existing directory with non-directory");
                                return (ARCHIVE_FAILED);
                        }
                        /* Try again. */