diff options
Diffstat (limited to 'pr/tests/sema.c')
-rw-r--r-- | pr/tests/sema.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pr/tests/sema.c b/pr/tests/sema.c index 4bcc52bd..93f18354 100644 --- a/pr/tests/sema.c +++ b/pr/tests/sema.c @@ -52,7 +52,7 @@ void ThreadFunc(void *arg) } counter++; if (PR_PostSemaphore(sem1) == PR_FAILURE) { - fprintf(stderr, "PR_WaitSemaphore failed\n"); + fprintf(stderr, "PR_PostSemaphore failed\n"); exit(1); } } @@ -134,7 +134,7 @@ int main(int argc, char **argv) } counter++; if (PR_PostSemaphore(sem2) == PR_FAILURE) { - fprintf(stderr, "PR_WaitSemaphore failed\n"); + fprintf(stderr, "PR_PostSemaphore failed\n"); exit(1); } } |