svn commit: r186244 - head/lib/libarchive

Tim Kientzle kientzle at FreeBSD.org
Wed Dec 17 19:02:42 UTC 2008


Author: kientzle
Date: Wed Dec 17 19:02:42 2008
New Revision: 186244
URL: http://svn.freebsd.org/changeset/base/186244

Log:
  Clarify an 'ar' error message.

Modified:
  head/lib/libarchive/archive_read_support_format_ar.c

Modified: head/lib/libarchive/archive_read_support_format_ar.c
==============================================================================
--- head/lib/libarchive/archive_read_support_format_ar.c	Wed Dec 17 18:12:01 2008	(r186243)
+++ head/lib/libarchive/archive_read_support_format_ar.c	Wed Dec 17 19:02:42 2008	(r186244)
@@ -192,7 +192,7 @@ archive_read_format_ar_read_header(struc
 	/* 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);
 	}
 


More information about the svn-src-head mailing list