]> git.saurik.com Git - apple/libc.git/blobdiff - tests/netbsd_vis.c
Libc-1439.100.3.tar.gz
[apple/libc.git] / tests / netbsd_vis.c
index 067096490920be9c96e88d3b79e42e8d229b552c..07e0775d5de70cb7443f2c4cbdcdd9701ae103ac 100644 (file)
@@ -76,7 +76,7 @@ T_DECL(strvis_basic, "strvis(3)")
                        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);