diff options
Diffstat (limited to '')
-rw-r--r-- | src/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
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; } |