13 lines
463 B
Diff
13 lines
463 B
Diff
Index: qemu/linux-user/syscall.c
|
|
================================================================================
|
|
--- qemu/linux-user/syscall.c
|
|
+++ qemu/linux-user/syscall.c
|
|
@@ -3895,6 +3895,7 @@
|
|
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);
|