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:
parent
e16844bd3b
commit
9db1b0d087
@ -253,8 +253,8 @@ ssize_t read_buffer (int fd, struct buffer_s * buffptr)
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
log_message (LOG_ERR,
|
log_message (LOG_ERR,
|
||||||
"readbuff: recv() error \"%s\" on file descriptor %d",
|
"read_buffer: read() failed on fd %d: %s",
|
||||||
strerror (errno), fd);
|
fd, strerror(errno));
|
||||||
bytesin = -1;
|
bytesin = -1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user