diff options
author | 2002-06-16 23:06:15 +0000 | |
---|---|---|
committer | 2002-06-16 23:06:15 +0000 | |
commit | c0a6f2a4d08d2cd7c686de7aadb83c22ba4b822e (patch) | |
tree | e05854a91d3255f8848a04fd0c5687e524416206 /regress/lib/libpthread/switch/switch.c | |
parent | write output to stdout instead of fprintf to stderr. This brings it (diff) | |
download | wireguard-openbsd-c0a6f2a4d08d2cd7c686de7aadb83c22ba4b822e.tar.xz wireguard-openbsd-c0a6f2a4d08d2cd7c686de7aadb83c22ba4b822e.zip |
write newline before successful test completion
Diffstat (limited to 'regress/lib/libpthread/switch/switch.c')
-rw-r--r-- | regress/lib/libpthread/switch/switch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/lib/libpthread/switch/switch.c b/regress/lib/libpthread/switch/switch.c index b6d571e78af..4c21eafe392 100644 --- a/regress/lib/libpthread/switch/switch.c +++ b/regress/lib/libpthread/switch/switch.c @@ -1,4 +1,4 @@ -/* $OpenBSD: switch.c,v 1.1.1.1 2001/08/15 14:37:16 fgsch Exp $ */ +/* $OpenBSD: switch.c,v 1.2 2002/06/16 23:06:53 marc Exp $ */ /* * Copyright (c) 1993, 1994, 1995, 1996 by Chris Provenzano and contributors, * proven@mit.edu All rights reserved. @@ -126,5 +126,6 @@ main(argc, argv) for (i = 0; i < count; i++) ASSERT(x[i]); /* make sure each thread ran */ + CHECKe(write(STDOUT_FILENO, "\n", 1)); SUCCEED; } |