X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/26ef00bd3c6c66240a4640aa54db1106d8b901fc..8950ac03f8fd0fb645c7d2374195ea884d091f72:/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);