From b59ecd0c66a91081ae0e4d742d4e9b86c311e2c3 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Sat, 23 Nov 2013 12:21:59 +0100 Subject: buffer: fix log message in read_buffer(). Signed-off-by: Michael Adam --- src/buffer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/buffer.c') diff --git a/src/buffer.c b/src/buffer.c index 4c046c6..b338183 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -253,8 +253,8 @@ ssize_t read_buffer (int fd, struct buffer_s * buffptr) break; default: log_message (LOG_ERR, - "readbuff: recv() error \"%s\" on file descriptor %d", - strerror (errno), fd); + "read_buffer: read() failed on fd %d: %s", + fd, strerror(errno)); bytesin = -1; break; } -- cgit v1.2.3