Loading...
tests/netbsd_vis.c Libc-1158.1.2 Libc-1353.100.2
--- Libc/Libc-1158.1.2/tests/netbsd_vis.c
+++ Libc/Libc-1353.100.2/tests/netbsd_vis.c
@@ -76,7 +76,7 @@
 			if (dstbuf[j] != (char)j)
 				T_FAIL("Failed for style %x, char %d [%d]", styles[i], j, dstbuf[j]);
 		if (dstbuf[SIZE] != '\0')
-			T_FAIL("Failed for style %x, the result must be null-terminated [%d]", dstbuf[SIZE]);
+			T_FAIL("Failed for style %x, the result must be null-terminated [%d]", styles[i], dstbuf[SIZE]);
 	}
 	free(dstbuf);
 	free(srcbuf);