buffer: fix log message in read_buffer().

Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit b59ecd0c66)
This commit is contained in:
Michael Adam 2013-11-23 12:21:59 +01:00
parent e16844bd3b
commit 9db1b0d087

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