mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-11-05 13:30:02 -05:00
fix compiler warnings
This commit is contained in:
parent
9ce2c6157f
commit
1a6848801f
2 changed files with 6 additions and 1 deletions
|
|
@ -28,7 +28,8 @@
|
|||
|
||||
static void oom(void) {
|
||||
static const char e[] = "Not enough memory\n";
|
||||
write(STDERR_FILENO, e, sizeof(e)-1);
|
||||
if (write(STDERR_FILENO, e, sizeof(e)-1) < 0)
|
||||
perror("write");
|
||||
#ifdef SIGQUIT
|
||||
raise(SIGQUIT);
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue