]> git.ipfire.org Git - thirdparty/libarchive.git/commitdiff
IFC: Reword an 'ar' error message
authorTim Kientzle <kientzle@gmail.com>
Sat, 27 Dec 2008 22:04:38 +0000 (17:04 -0500)
committerTim Kientzle <kientzle@gmail.com>
Sat, 27 Dec 2008 22:04:38 +0000 (17:04 -0500)
SVN-Revision: 287

libarchive/archive_read_support_format_ar.c

index 6840d3ca1c92cade1efa9a2a44e7a938ef233138..dac52c927a0ba7e027a87d2c34c561713b6f9140 100644 (file)
@@ -26,7 +26,7 @@
  */
 
 #include "archive_platform.h"
-__FBSDID("$FreeBSD: src/lib/libarchive/archive_read_support_format_ar.c,v 1.11 2008/12/06 06:45:15 kientzle Exp $");
+__FBSDID("$FreeBSD: src/lib/libarchive/archive_read_support_format_ar.c,v 1.12 2008/12/17 19:02:42 kientzle Exp $");
 
 #ifdef HAVE_SYS_STAT_H
 #include <sys/stat.h>
@@ -192,7 +192,7 @@ archive_read_format_ar_read_header(struct archive_read *a,
        /* Verify the magic signature on the file header. */
        if (strncmp(h + AR_fmag_offset, "`\n", 2) != 0) {
                archive_set_error(&a->archive, EINVAL,
-                   "Consistency check failed");
+                   "Incorrect file header signature");
                return (ARCHIVE_WARN);
        }