diff options
-rw-r--r-- | src/nix-worker/nix-worker.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nix-worker/nix-worker.cc b/src/nix-worker/nix-worker.cc index f0f821bdd750..54ac2a55e39c 100644 --- a/src/nix-worker/nix-worker.cc +++ b/src/nix-worker/nix-worker.cc @@ -112,11 +112,11 @@ static void sigPollHandler(int sigNo) _isInterrupted = 1; blockInt = 1; canSendStderr = false; - char * s = "SIGPOLL\n"; + const char * s = "SIGPOLL\n"; write(STDERR_FILENO, s, strlen(s)); } } else { - char * s = "spurious SIGPOLL\n"; + const char * s = "spurious SIGPOLL\n"; write(STDERR_FILENO, s, strlen(s)); } } |