From 414f4bd7e70d94025576d9264c86da63c506f6ca Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 13 Aug 2003 15:10:53 +0000 Subject: Bug fixes plus adaptation to current MinGW/MsysDTK environment. Changes to tests/benchmarks. --- tests/semaphore1.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tests/semaphore1.c') diff --git a/tests/semaphore1.c b/tests/semaphore1.c index c5911f9..1fc60d5 100644 --- a/tests/semaphore1.c +++ b/tests/semaphore1.c @@ -87,7 +87,7 @@ thr(void * arg) if ( result == -1 ) { - perror("thread: sem_trywait 1"); // No error + perror("thread: sem_trywait 1: expected error"); // No error assert(errno == EAGAIN); } else @@ -131,7 +131,7 @@ main() if ( result == -1 ) { - perror("main: sem_trywait 1"); // No error + perror("main: sem_trywait 1: expected error"); // No error assert(errno == EAGAIN); } else -- cgit v1.2.3