1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-10-19 02:29:40 +00:00

Clarify an 'ar' error message.

This commit is contained in:
Tim Kientzle 2008-12-17 19:02:42 +00:00
parent 7b3569ff05
commit 6ebec34c8d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=186244

View File

@ -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);
}