From: Dmitry V. Levin Date: Thu, 22 Dec 2016 20:51:33 +0000 (+0000) Subject: time: change address argument type from long to kernel_ureg_t X-Git-Tag: v4.16~208 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=93e2dfe0e5c971053e7c9cc7c34f76adec448ffa;p=strace time: change address argument type from long to kernel_ureg_t * time.c (print_timezone, do_adjtimex): Change address argument type from long to kernel_ureg_t. --- diff --git a/time.c b/time.c index b32eddf6..b1f4b4fc 100644 --- a/time.c +++ b/time.c @@ -33,7 +33,7 @@ #include static void -print_timezone(struct tcb *tcp, const long addr) +print_timezone(struct tcb *const tcp, const kernel_ureg_t addr) { struct timezone tz; @@ -167,7 +167,7 @@ SYS_FUNC(osf_setitimer) #include "xlat/adjtimex_state.h" static int -do_adjtimex(struct tcb *tcp, long addr) +do_adjtimex(struct tcb *const tcp, const kernel_ureg_t addr) { if (print_timex(tcp, addr)) return 0;