Unix OSL: Fix return value for ALTERNATE_TIMEOUT.

Was using break improperly.
This commit is contained in:
Robert Moore 2009-04-15 13:45:45 -07:00
parent 47481d6ad7
commit 90412706a2

View File

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