about summary refs log tree commit diff
path: root/third_party/nix/src/build-remote
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/nix/src/build-remote')
-rw-r--r--third_party/nix/src/build-remote/build-remote.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/third_party/nix/src/build-remote/build-remote.cc b/third_party/nix/src/build-remote/build-remote.cc
index fd32b5a63750..70776b132d14 100644
--- a/third_party/nix/src/build-remote/build-remote.cc
+++ b/third_party/nix/src/build-remote/build-remote.cc
@@ -184,7 +184,7 @@ static int _main(int argc, char* argv[]) {
 #if __APPLE__
         futimes(bestSlotLock.get(), NULL);
 #else
-        futimens(bestSlotLock.get(), NULL);
+        futimens(bestSlotLock.get(), nullptr);
 #endif
 
         lock = -1;