summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
Diffstat (limited to 'contrib')
-rw-r--r--contrib/netbsd-tests/lib/libpthread/h_cancel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/contrib/netbsd-tests/lib/libpthread/h_cancel.c b/contrib/netbsd-tests/lib/libpthread/h_cancel.c
index 1077806..b7a9363 100644
--- a/contrib/netbsd-tests/lib/libpthread/h_cancel.c
+++ b/contrib/netbsd-tests/lib/libpthread/h_cancel.c
@@ -42,7 +42,9 @@ main(void)
char str1[] = "You should see this.\n";
char str2[] = "You should not see this.\n";
+#ifdef __NetBSD__
printf("Cancellation test: Self-cancellation and disabling.\n");
+#endif
pthread_cancel(pthread_self());
OpenPOWER on IntegriCloud