From 663a1af0674c37774d310541e9b30c60316f2055 Mon Sep 17 00:00:00 2001 From: rpj Date: Tue, 3 Jul 2001 02:00:09 +0000 Subject: Cosmetic changes. --- semaphore.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'semaphore.c') diff --git a/semaphore.c b/semaphore.c index 81b777f..ee9c8f6 100644 --- a/semaphore.c +++ b/semaphore.c @@ -487,7 +487,7 @@ sem_post_multiple (sem_t * sem, int count ) * -1 failed, error in errno * ERRNO * EINVAL 'sem' is not a valid semaphore - * or count is less than zero. + * or count is not greater than zero. * * ------------------------------------------------------ */ @@ -498,10 +498,7 @@ sem_post_multiple (sem_t * sem, int count ) { result = EINVAL; } - else if (count == 0) - { - return 0; - } + else #ifdef NEED_SEM -- cgit v1.2.3