summaryrefslogtreecommitdiff
path: root/regress/lib
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2012-02-20 02:34:34 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2012-02-20 02:34:34 +0000
commit82bb48d4049b32a5a71a9d678b63bb48d9a22b5f (patch)
tree297b302143c3d834d0e1644346ed3a960812f779 /regress/lib
parent8e9054a5b02deeeea81cf97bd4c7f32842585797 (diff)
End the output with a newline
Diffstat (limited to 'regress/lib')
-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()));