mirror of
https://github.com/NixOS/nix.git
synced 2024-11-25 16:23:02 +00:00
* Shut up a GCC warning.
This commit is contained in:
parent
cacff1be88
commit
3a87163b24
@ -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));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user