Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Changed Usage in the rsync --help message to indicate how there can be
[rsync/rsync.git]
/
io.c
diff --git
a/io.c
b/io.c
index
7191140
..
25d7516
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-538,7
+538,7
@@
void io_printf(int fd, const char *format, ...)
int len;
va_start(ap, format);
int len;
va_start(ap, format);
- len = vslprintf(buf, sizeof(buf)
-1
, format, ap);
+ len = vslprintf(buf, sizeof(buf), format, ap);
va_end(ap);
if (len < 0) exit_cleanup(RERR_STREAMIO);
va_end(ap);
if (len < 0) exit_cleanup(RERR_STREAMIO);