buffer: fix log message in read_buffer().

Signed-off-by: Michael Adam <obnox@samba.org>
This commit is contained in:
Michael Adam 2013-11-23 12:21:59 +01:00
parent ffa3a56ab8
commit b59ecd0c66

View File

@ -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;
}