1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 22:33:57 +02:00

* Shut up a GCC warning.

This commit is contained in:
Eelco Dolstra 2009-03-23 13:52:52 +00:00
parent cacff1be88
commit 3a87163b24

View file

@ -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));
}
}