summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2009-07-20 15:50:02 +0100
committerLennart Poettering <lennart@poettering.net>2009-07-20 15:50:02 +0100
commit0225ef68f2876bebd14977882db313fd7f3f6d64 (patch)
treedd950affa41b94682b7b50a81098a4634770e829
parent23039af8427140bafa92dce3021c1f2a14bcfbad (diff)
downloadpulseaudio-0225ef68f2876bebd14977882db313fd7f3f6d64.tar.gz
memtrap: clarify that we are not interested in the return value of write()
-rw-r--r--src/pulsecore/memtrap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pulsecore/memtrap.c b/src/pulsecore/memtrap.c
index 7d9174505..c647e5071 100644
--- a/src/pulsecore/memtrap.c
+++ b/src/pulsecore/memtrap.c
@@ -65,7 +65,7 @@ pa_bool_t pa_memtrap_is_good(pa_memtrap *m) {
}
static void sigsafe_error(const char *s) {
- write(STDERR_FILENO, s, strlen(s));
+ (void) write(STDERR_FILENO, s, strlen(s));
}
static void signal_handler(int sig, siginfo_t* si, void *data) {