X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/654175798bdbdd6403e10c8fa74e8586b3612ea1..0503f06089b89aa4166d6ced8d5901ad6a112c41:/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);