2007-07-10 18:55:54 +02:00
|
|
|
Index: qemu/linux-user/syscall.c
|
2007-11-13 21:32:02 +01:00
|
|
|
================================================================================
|
|
|
|
--- qemu/linux-user/syscall.c
|
2007-07-10 18:55:54 +02:00
|
|
|
+++ qemu/linux-user/syscall.c
|
2007-11-13 21:32:02 +01:00
|
|
|
@@ -3895,6 +3895,7 @@
|
2007-07-10 18:55:54 +02:00
|
|
|
case TARGET_NR_gettimeofday:
|
|
|
|
{
|
|
|
|
struct timeval tv;
|
|
|
|
+ target_to_host_timeval(&tv, arg1);
|
|
|
|
ret = get_errno(gettimeofday(&tv, NULL));
|
|
|
|
if (!is_error(ret)) {
|
|
|
|
host_to_target_timeval(arg1, &tv);
|