Revision f3e3285d linux-user/strace.c

b/linux-user/strace.c
106 106
            return;
107 107

  
108 108
	tv = lock_user(tv_addr, sizeof(*tv), 1);
109
        gemu_log("{%d,%d}", tv->tv_sec, tv->tv_usec);
109
        gemu_log("{" TARGET_ABI_FMT_ld "," TARGET_ABI_FMT_ld "}",
110
        	 tv->tv_sec, tv->tv_usec);
110 111
        unlock_user(tv, tv_addr, 0);
111 112
    } else
112 113
        gemu_log("NULL");
......
220 221
    }
221 222
}
222 223

  
224
#if 0 /* currently unused */
223 225
static void
224 226
print_syscall_ret_raw(struct syscallname *name, target_long ret)
225 227
{
226 228
        gemu_log(" = " TARGET_FMT_lx "\n", ret);
227 229
}
230
#endif
228 231

  
232
#ifdef TARGET_NR__newselect
229 233
static void
230 234
print_syscall_ret_newselect(struct syscallname *name, target_long ret)
231 235
{
......
239 243
    print_timeval(newselect_arg5);
240 244
    gemu_log(")\n");
241 245
}
246
#endif
242 247

  
243 248
/*
244 249
 * An array of all of the syscalls we know about

Also available in: Unified diff