aboutsummaryrefslogtreecommitdiff
path: root/src/libutil/util.cc
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2020-06-15 14:12:39 +0200
committerEelco Dolstra <edolstra@gmail.com>2020-06-15 14:12:39 +0200
commite14e62fddde3b00ee82a8da29725f571ad8ecee1 (patch)
tree26e16b53292f90a93241320bfb0c42234be1c227 /src/libutil/util.cc
parent1fb762d11fadc659ef41b79eaddddcce5fbbc192 (diff)
Remove trailing whitespace
Diffstat (limited to 'src/libutil/util.cc')
-rw-r--r--src/libutil/util.cc2
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);
}