diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-06-15 14:12:39 +0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-06-15 14:12:39 +0200 |
commit | e14e62fddde3b00ee82a8da29725f571ad8ecee1 (patch) | |
tree | 26e16b53292f90a93241320bfb0c42234be1c227 /src/libutil/util.cc | |
parent | 1fb762d11fadc659ef41b79eaddddcce5fbbc192 (diff) |
Remove trailing whitespace
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r-- | src/libutil/util.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libutil/util.cc b/src/libutil/util.cc index a2281237b..667dd2edb 100644 --- a/src/libutil/util.cc +++ b/src/libutil/util.cc @@ -314,7 +314,7 @@ string readFile(const Path & path) void readFile(const Path & path, Sink & sink) { AutoCloseFD fd = open(path.c_str(), O_RDONLY | O_CLOEXEC); - if (!fd) + if (!fd) throw SysError("opening file '%s'", path); drainFD(fd.get(), sink); } |