summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2012-02-20 02:34:33 +0000
committerguenther <guenther@openbsd.org>2012-02-20 02:34:33 +0000
commit8e37405de8cc804c46f52c754bf89f70cea088e2 (patch)
treec5fd00359ab27546ad772eaa08c52ecafbe3522e
parentThis test needs a large nprocs ulimit, so just have it raise its own (diff)
downloadwireguard-openbsd-8e37405de8cc804c46f52c754bf89f70cea088e2.tar.xz
wireguard-openbsd-8e37405de8cc804c46f52c754bf89f70cea088e2.zip
End the output with a newline
-rw-r--r--regress/lib/libpthread/errno/errno.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/lib/libpthread/errno/errno.c b/regress/lib/libpthread/errno/errno.c
index ff62f346854..5ddf05775f8 100644
--- a/regress/lib/libpthread/errno/errno.c
+++ b/regress/lib/libpthread/errno/errno.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: errno.c,v 1.1 2011/11/18 05:30:45 guenther Exp $ */
+/* $OpenBSD: errno.c,v 1.2 2012/02/20 02:34:33 guenther Exp $ */
/* PUBLIC DOMAIN Sep 2011 <guenther@openbsd.org> */
/*
@@ -64,7 +64,7 @@ act_handler(int signal)
ASSERTe(errno, == EXDEV);
ASSERT(pthread_equal(t1_tid, pthread_self()));
} else if (handler_errno == &t1_errno) {
- CHECKe(write(STDOUT_FILENO, "1", 1));
+ CHECKe(write(STDOUT_FILENO, "\n", 1));
ASSERT(&errno == t1_errno);
ASSERTe(errno, == EXDEV);
ASSERT(pthread_equal(t1_tid, pthread_self()));