aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
authorVladimir Chtchetkine <vchtchetkine@google.com>2012-03-28 12:19:28 -0700
committerVladimir Chtchetkine <vchtchetkine@google.com>2012-03-28 12:19:28 -0700
commit14a4131fde5542634aede4f358cfb4761330b69a (patch)
treed5c815c08c1135b7c25b83894dce996e55c0dd12 /android
parent300dc988021a26ea93e3f87e15e70fdcb9cb9359 (diff)
downloadexternal_qemu-14a4131fde5542634aede4f358cfb4761330b69a.zip
external_qemu-14a4131fde5542634aede4f358cfb4761330b69a.tar.gz
external_qemu-14a4131fde5542634aede4f358cfb4761330b69a.tar.bz2
Fixes bug in qlooptimer_startAbsolute for qemu-looper
When setting absolute time, the routine wrongly assumed that qemu_mod_timer takes time in nanosec, while in reality, qemu_mod_timer takes time in millisec. Change-Id: Ife707bb5d236457f65e7dc6ccfb3235e0b93f058
Diffstat (limited to 'android')
-rw-r--r--android/looper-qemu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/looper-qemu.c b/android/looper-qemu.c
index 714b48d..c5cffcd 100644
--- a/android/looper-qemu.c
+++ b/android/looper-qemu.c
@@ -46,7 +46,7 @@ qlooptimer_startAbsolute(void* impl, Duration deadline_ms)
if (deadline_ms == DURATION_INFINITE)
qemu_del_timer(tt);
else
- qemu_mod_timer(tt, deadline_ms*1000000);
+ qemu_mod_timer(tt, deadline_ms);
}
static void