mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-24 14:56:15 +02:00
Fix bad exception reported by @layus
This commit is contained in:
parent
dbe7fcebff
commit
baee9fe7a2
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ struct ZipInputAccessor : InputAccessor
|
|||
std::string readFile(const CanonPath & path) override
|
||||
{
|
||||
if (lstat(path).type != tRegular)
|
||||
throw Error("file '%s' is not a regular file");
|
||||
throw Error("file '%s' is not a regular file", path);
|
||||
|
||||
return _readFile(path);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue