From: Martin Pool Date: Tue, 9 Apr 2002 04:23:18 +0000 (+0000) Subject: Clarify "error writing %d bytes" message. X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/commitdiff_plain/8901a07fdbb1414ed28d86e55e6618cf228fad4d Clarify "error writing %d bytes" message. --- diff --git a/io.c b/io.c index 3349b83b..07e1feb5 100644 --- a/io.c +++ b/io.c @@ -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); }