mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-27 23:02:20 +00:00
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:
parent
c0d425d34b
commit
628c6affaa
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user