Commit 8901a07f authored by Martin Pool's avatar Martin Pool

Clarify "error writing %d bytes" message.

parent 880da007
......@@ -464,8 +464,8 @@ static void writefd_unbuffered(int fd,char *buf,size_t len)
* across the stream */
io_multiplexing_close();
rprintf(FERROR, RSYNC_NAME
": error writing %d unbuffered bytes"
" - exiting: %s\n", len,
": writefd_unbuffered failed to write %ld bytes: %s\n",
(long) len,
strerror(errno));
exit_cleanup(RERR_STREAMIO);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment