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:
parent
d0080709e7
commit
f62681112e
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=129370
@ -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);
|
||||
}
|
||||
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user