Clean up error message
authorMartin Pool <mbp@samba.org>
Tue, 19 Feb 2002 01:41:20 +0000 (01:41 +0000)
committerMartin Pool <mbp@samba.org>
Tue, 19 Feb 2002 01:41:20 +0000 (01:41 +0000)
io.c

diff --git a/io.c b/io.c
index eeb3a56..1d40649 100644 (file)
--- a/io.c
+++ b/io.c
@@ -457,8 +457,8 @@ static void writefd_unbuffered(int fd,char *buf,size_t len)
                                /* Don't try to write errors back
                                 * across the stream */
                                io_multiplexing_close();
-                               rprintf(FERROR,
-                                       "error writing %d unbuffered bytes"
+                               rprintf(FERROR, RSYNC_NAME
+                                       "error writing %d unbuffered bytes"
                                        " - exiting: %s\n", len,
                                        strerror(errno));
                                exit_cleanup(RERR_STREAMIO);