diff options
author | Dmitry V. Levin <ldv@altlinux.org> | 2015-09-18 15:16:11 +0000 |
---|---|---|
committer | Dmitry V. Levin <ldv@altlinux.org> | 2015-09-19 04:04:49 +0300 |
commit | 5938526c818336357b97caa8fd89d58a12987b02 (patch) | |
tree | cc8b895c39e2bc95c9feefab9c5e203e891dd5e7 /mq.c | |
parent | f94d8d6e55160c42df1652d21ef8f79a95813ab4 (diff) | |
download | strace-5938526c818336357b97caa8fd89d58a12987b02.tar.gz |
Convert parser of struct timespec to new mpers infrastructure
* defs.h (print_timespec): Remove.
* print_time.c (print_timespec): New mpers printer.
* futex.c (sys_futex): Use print_timespec instead of printtv.
* ipc_sem.c (sys_semtimedop): Likewise.
* mq.c (sys_mq_timedsend, sys_mq_timedreceive): Likewise.
* time.c (clock_settime, clock_gettime, clock_nanosleep): Likewise.
(print_timespec): Remove.
Diffstat (limited to 'mq.c')
-rw-r--r-- | mq.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -48,7 +48,7 @@ SYS_FUNC(mq_timedsend) tprintf("%ld, ", tcp->u_arg[0]); printstr(tcp, tcp->u_arg[1], tcp->u_arg[2]); tprintf(", %lu, %ld, ", tcp->u_arg[2], tcp->u_arg[3]); - printtv(tcp, tcp->u_arg[4]); + print_timespec(tcp, tcp->u_arg[4]); return RVAL_DECODED; } @@ -65,7 +65,7 @@ SYS_FUNC(mq_timedreceive) * whether the syscall has failed or not. */ temporarily_clear_syserror(tcp); - printtv(tcp, tcp->u_arg[4]); + print_timespec(tcp, tcp->u_arg[4]); restore_cleared_syserror(tcp); } return 0; |