1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-19 10:53:58 +00:00

Clarify an error message.

This commit is contained in:
Tim Kientzle 2004-05-18 00:13:06 +00:00
parent d0080709e7
commit f62681112e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129370
2 changed files with 4 additions and 2 deletions

View File

@ -107,7 +107,8 @@ file_open(struct archive *a, void *client_data)
}
if (mine->fd < 0) {
archive_set_error(a, errno, "Failed to open");
archive_set_error(a, errno, "Failed to open '%s'",
mine->filename);
return (ARCHIVE_FATAL);
}

View File

@ -107,7 +107,8 @@ file_open(struct archive *a, void *client_data)
}
if (mine->fd < 0) {
archive_set_error(a, errno, "Failed to open");
archive_set_error(a, errno, "Failed to open '%s'",
mine->filename);
return (ARCHIVE_FATAL);
}