Fix few warnings

This commit is contained in:
Mateusz Mikuła
2019-07-18 15:27:05 +02:00
parent f1be9266e2
commit 9aac2672e3
4 changed files with 4 additions and 4 deletions
+1 -2
View File
@@ -7,8 +7,7 @@
int main(void) {
puts("# strsignal #");
char *x = strsignal(SIGHUP);
int res;
const char *x = strsignal(SIGHUP);
if (strcmp(x, "Hangup")) {
printf("Incorrect strsignal (1), found: .%s.\n", x);
exit(EXIT_FAILURE);