mirror of
https://github.com/acpica/acpica/
synced 2025-01-15 22:09:17 +03:00
Unix OSL: Fix return value for ALTERNATE_TIMEOUT.
Was using break improperly.
This commit is contained in:
parent
47481d6ad7
commit
90412706a2
@ -652,8 +652,8 @@ AcpiOsWaitSemaphore (
|
||||
{
|
||||
if (sem_trywait (Sem) == 0)
|
||||
{
|
||||
/* got the semaphore */
|
||||
break;
|
||||
/* Got the semaphore */
|
||||
return (AE_OK);
|
||||
}
|
||||
usleep (1000); /* one millisecond */
|
||||
Timeout--;
|
||||
|
Loading…
Reference in New Issue
Block a user