summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2003-08-07 18:19:12 +0000
committernjl <njl@FreeBSD.org>2003-08-07 18:19:12 +0000
commit7d00a4ad3d853a7fb8deb8c9076c67b314859e3e (patch)
treee8a231bcb15580241a56df477f71aa8c41e416d9
parent51b4b4c2f8b799eb2514a17042eb3c89f6594ec6 (diff)
downloadFreeBSD-src-7d00a4ad3d853a7fb8deb8c9076c67b314859e3e.zip
FreeBSD-src-7d00a4ad3d853a7fb8deb8c9076c67b314859e3e.tar.gz
Fix a bug that would result in a very long sleep. Change has been
submitted to the vendor. Obtained from: iwasaki
-rw-r--r--sys/contrib/dev/acpica/osunixxf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/contrib/dev/acpica/osunixxf.c b/sys/contrib/dev/acpica/osunixxf.c
index 6b463ac..ecb7228 100644
--- a/sys/contrib/dev/acpica/osunixxf.c
+++ b/sys/contrib/dev/acpica/osunixxf.c
@@ -815,7 +815,7 @@ AcpiOsSleep (
UINT32 milliseconds)
{
- sleep ((seconds * 1000) + milliseconds);
+ usleep (((seconds * 1000) + milliseconds) * 1000);
return;
}
OpenPOWER on IntegriCloud