diff options
author | wtc%netscape.com <devnull@localhost> | 2000-01-28 23:31:20 +0000 |
---|---|---|
committer | wtc%netscape.com <devnull@localhost> | 2000-01-28 23:31:20 +0000 |
commit | 6f5e35fe7e55f358871e3384f06f73305fcd1d3c (patch) | |
tree | 28a94f8e80bb8707b3364aa52eeeeb5533bbc806 | |
parent | 5a3057ee7b82b87559ebe33ce908376f3f4aba57 (diff) | |
download | nspr-hg-6f5e35fe7e55f358871e3384f06f73305fcd1d3c.tar.gz |
Fixed bogus error messages. Thanks to Kurt J. Lidl <lidl@pix.net>
for reporting the bug and providing a fix.
-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); } } |