--- ./src/main/printutils.c.origin	2023-11-03 06:52:26.071247203 +0000
+++ ./src/main/printutils.c	2023-11-03 06:53:19.210901298 +0000
@@ -947,7 +947,7 @@
 	/* dummy_vfprintf protects against `res` being counted short; we do not
 	   do that here */
 	p = R_alloc(res+1, sizeof(char));
-	vnsprintf(p, res + 1, format, arg);
+	vsnprintf(p, res + 1, format, arg);
     } else if(res < 0) {
 	/* Some non-C99 conforming vsnprintf implementations return -1 on
 	   truncation instead of only on error. */
