summaryrefslogtreecommitdiff
path: root/tests/unistdio/test-ulc-asnprintf1.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unistdio/test-ulc-asnprintf1.h')
-rw-r--r--tests/unistdio/test-ulc-asnprintf1.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/unistdio/test-ulc-asnprintf1.h b/tests/unistdio/test-ulc-asnprintf1.h
index 285a4062e7..77d592726c 100644
--- a/tests/unistdio/test-ulc-asnprintf1.h
+++ b/tests/unistdio/test-ulc-asnprintf1.h
@@ -46,9 +46,9 @@ test_function (char * (*my_asnprintf) (char *, size_t *, const char *, ...))
ASSERT (strcmp (result, "12345") == 0);
ASSERT (length == 5);
if (size < 6)
- ASSERT (result != buf);
+ ASSERT (result != buf);
ASSERT (memcmp (buf + size, "DEADBEEF" + size, 8 - size) == 0);
if (result != buf)
- free (result);
+ free (result);
}
}