diff options
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 7853acdd494..9ba604eb85d 100644 --- a/nix/libutil/hash.cc +++ b/nix/libutil/hash.cc | |||
| @@ -244,7 +244,7 @@ Hash hashFile(HashType ht, const Path & path) | |||
| 244 | start(ht, ctx); | 244 | start(ht, ctx); |
| 245 | 245 | ||
| 246 | AutoCloseFD fd = open(path.c_str(), O_RDONLY); | 246 | AutoCloseFD fd = open(path.c_str(), O_RDONLY); |
| 247 | if (fd == -1) throw SysError(format("opening file `%1%'") % path); | 247 | if (fd == -1) throw SysError(format("computing hash of file `%1%'") % path); |
| 248 | 248 | ||
| 249 | unsigned char buf[8192]; | 249 | unsigned char buf[8192]; |
| 250 | ssize_t n; | 250 | ssize_t n; |
