Fixed bogus error messages. Thanks to Kurt J. Lidl <lidl@pix.net>

for reporting the bug and providing a fix.
This commit is contained in:
wtc%netscape.com 2000-01-28 23:31:20 +00:00
parent c0d425d34b
commit 628c6affaa

View File

@ -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);
}
}