Squelch some more warnings on Linux

This commit is contained in:
ridiculousfish
2014-04-27 18:27:34 -07:00
parent fb89c762fc
commit 4948508277
8 changed files with 30 additions and 18 deletions

View File

@@ -364,7 +364,7 @@ void safe_perror(const char *message)
safe_append(buff, safe_strerror(err), sizeof buff);
safe_append(buff, "\n", sizeof buff);
write(STDERR_FILENO, buff, strlen(buff));
write_ignore(STDERR_FILENO, buff, strlen(buff));
errno = err;
}