summaryrefslogtreecommitdiff
path: root/tests/unistdio/test-ulc-asnprintf1.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unistdio/test-ulc-asnprintf1.c')
-rw-r--r--tests/unistdio/test-ulc-asnprintf1.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unistdio/test-ulc-asnprintf1.c b/tests/unistdio/test-ulc-asnprintf1.c
index 236cd3b2..8fb91da0 100644
--- a/tests/unistdio/test-ulc-asnprintf1.c
+++ b/tests/unistdio/test-ulc-asnprintf1.c
@@ -20,6 +20,7 @@
#include "unistdio.h"
+#include <errno.h>
#include <stdarg.h>
#include <stddef.h>
#include <stdint.h>
@@ -40,5 +41,5 @@ int
main (int argc, char *argv[])
{
test_asnprintf ();
- return 0;
+ return test_exit_status;
}