diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-12-19 00:40:33 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-12-19 00:40:33 +0100 |
commit | 12ca7677028119bb280e33f7a759a66724d468d1 (patch) | |
tree | 42ea4bb7b3ebcca0598e14444e269cb7cf39c59f /nix/libutil/hash.cc | |
parent | 553f46a094951df99eb1fb6b1a4d3ca1df91adfd (diff) | |
parent | 989a3916dc8967bcb7275f10452f89bc6c3389cc (diff) |
Merge branch 'version-1.4.0'
Diffstat (limited to 'nix/libutil/hash.cc')
-rw-r--r-- | nix/libutil/hash.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix/libutil/hash.cc b/nix/libutil/hash.cc index 7853acdd49..9ba604eb85 100644 --- a/nix/libutil/hash.cc +++ b/nix/libutil/hash.cc @@ -244,7 +244,7 @@ Hash hashFile(HashType ht, const Path & path) start(ht, ctx); AutoCloseFD fd = open(path.c_str(), O_RDONLY); - if (fd == -1) throw SysError(format("opening file `%1%'") % path); + if (fd == -1) throw SysError(format("computing hash of file `%1%'") % path); unsigned char buf[8192]; ssize_t n; |