Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
880da00
)
Clarify "error writing %d bytes" message.
author
Martin Pool
<mbp@samba.org>
Tue, 9 Apr 2002 04:23:18 +0000
(
04:23
+0000)
committer
Martin Pool
<mbp@samba.org>
Tue, 9 Apr 2002 04:23:18 +0000
(
04:23
+0000)
io.c
patch
|
blob
|
blame
|
history
diff --git
a/io.c
b/io.c
index
3349b83
..
07e1feb
100644
(file)
--- 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);
}