Clarify "error writing %d bytes" message.

This commit is contained in:
Martin Pool
2002-04-09 04:23:18 +00:00
parent 880da0072e
commit 8901a07fdb

4
io.c
View File

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