summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-29 14:37:18 +0000
committerpbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>2008-10-29 14:37:18 +0000
commit474ad834d2c2637a7e5df527f8a89e2792b572ef (patch)
treed5e421c7e7e5d828b1538474cc385627cb8870c3 /qemu-tool.c
parentFix restore of older snapshots for target-i386 on big endian hosts (diff)
downloadqemu-kvm-474ad834d2c2637a7e5df527f8a89e2792b572ef.tar.gz
qemu-kvm-474ad834d2c2637a7e5df527f8a89e2792b572ef.tar.bz2
qemu-kvm-474ad834d2c2637a7e5df527f8a89e2792b572ef.zip
Use qemu_gettimeofday.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5571 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'qemu-tool.c')
-rw-r--r--qemu-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu-tool.c b/qemu-tool.c
index 87cc2949b..74d4b4f80 100644
--- a/qemu-tool.c
+++ b/qemu-tool.c
@@ -82,6 +82,6 @@ int qemu_set_fd_handler2(int fd,
int64_t qemu_get_clock(QEMUClock *clock)
{
struct timeval tv;
- gettimeofday(&tv, NULL);
+ qemu_gettimeofday(&tv);
return (tv.tv_sec * 1000000000LL + (tv.tv_usec * 1000)) / 1000000;
}