summaryrefslogtreecommitdiff
path: root/fxotune.c
diff options
context:
space:
mode:
Diffstat (limited to 'fxotune.c')
-rw-r--r--fxotune.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxotune.c b/fxotune.c
index b419767..77b01ea 100644
--- a/fxotune.c
+++ b/fxotune.c
@@ -110,7 +110,7 @@ static int fxotune_read(int fd, void *buffer, int len)
res = read(fd, buffer, len);
if ((res > 0) && (audio_dump_fd != -1)) {
- write(audio_dump_fd, buffer, len);
+ res = write(audio_dump_fd, buffer, len);
}
return res;