diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-12-12 14:35:44 +0100 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-12-12 14:35:44 +0100 |
commit | 28f22b4653bfcf1be41b042c8068b6513dd3e931 (patch) | |
tree | 9eadec69bd2e6b35c204976e752bccd48bb07df8 /src/libstore/pathlocks.cc | |
parent | 5a2d45164899479cb3dfe94cb7659fd522163acc (diff) |
Ensure we're writing to stderr in the builder
http://hydra.nixos.org/build/17862041
Diffstat (limited to 'src/libstore/pathlocks.cc')
-rw-r--r-- | src/libstore/pathlocks.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libstore/pathlocks.cc b/src/libstore/pathlocks.cc index f26684afa..9db37e8f9 100644 --- a/src/libstore/pathlocks.cc +++ b/src/libstore/pathlocks.cc @@ -33,7 +33,7 @@ void deleteLockFile(const Path & path, int fd) other processes waiting on this lock that the lock is stale (deleted). */ unlink(path.c_str()); - writeFull(fd, (const unsigned char *) "d", 1); + writeFull(fd, "d"); /* Note that the result of unlink() is ignored; removing the lock file is an optimisation, not a necessity. */ } |