X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/654175798bdbdd6403e10c8fa74e8586b3612ea1..1e8ae5ede66ba337ba6abbb4afad2b3319c1db74:/io.c diff --git a/io.c b/io.c index 71911408..25d75168 100644 --- a/io.c +++ b/io.c @@ -538,7 +538,7 @@ void io_printf(int fd, const char *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);