]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
Report srcpath here. I'm not sure it really matters, but some
authorTim Kientzle <kientzle@gmail.com>
Thu, 22 Jan 2009 06:01:21 +0000 (01:01 -0500)
committerTim Kientzle <kientzle@gmail.com>
Thu, 22 Jan 2009 06:01:21 +0000 (01:01 -0500)
people seem to prefer it.

SVN-Revision: 459

cpio/cpio.c

index 63422d43cbefbce08595976a081795e7e75ee8ee..77919197eeb34dcbe062d9aaa60b147ccb2236a6 100644 (file)
@@ -639,7 +639,7 @@ entry_to_archive(struct cpio *cpio, struct archive_entry *entry)
        if (r != ARCHIVE_OK)
                cpio_warnc(archive_errno(cpio->archive),
                    "%s: %s",
-                   destpath,
+                   srcpath,
                    archive_error_string(cpio->archive));
 
        if (r == ARCHIVE_FATAL)