[streaming] Log error message from write()

This commit is contained in:
ejurgensen 2016-05-05 18:48:47 +02:00
parent 618493c688
commit 7c68eab11e
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ streaming_write(uint8_t *buf, uint64_t rtptime)
ret = write(streaming_pipe[1], buf, STREAMING_RAWBUF_SIZE);
if (ret < 0)
DPRINTF(E_LOG, L_STREAMING, "Error writing to streaming pipe\n");
DPRINTF(E_LOG, L_STREAMING, "Error writing to streaming pipe: %s\n", strerror(errno));
}
int