X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/81c99202d3a60703d651edb8e967e300648cd8f1..6f82f7a6f67bd9f5dd88bc3977c1f633405244f0:/io.c diff --git a/io.c b/io.c index 7aee3479..dac0744d 100644 --- a/io.c +++ b/io.c @@ -595,7 +595,7 @@ void io_printf(int fd, const char *format, ...) int len; va_start(ap, format); - len = vslprintf(buf, sizeof(buf), format, ap); + len = vsnprintf(buf, sizeof(buf), format, ap); va_end(ap); if (len < 0) exit_cleanup(RERR_STREAMIO);