From: Dmitry V. Levin Date: Fri, 23 Dec 2016 01:21:34 +0000 (+0000) Subject: print_mq_attr: change address argument type from long to kernel_ureg_t X-Git-Tag: v4.16~203 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=aff8528b22adff04dee6ee769099756bd4c50736;p=strace print_mq_attr: change address argument type from long to kernel_ureg_t * print_mq_attr.c (printmqattr): Change address argument type from long to kernel_ureg_t. --- diff --git a/print_mq_attr.c b/print_mq_attr.c index dc09a8d6..f4b2d138 100644 --- a/print_mq_attr.c +++ b/print_mq_attr.c @@ -43,8 +43,8 @@ typedef struct mq_attr mq_attr_t; #include MPERS_DEFS -MPERS_PRINTER_DECL(void, printmqattr, struct tcb *tcp, const long addr, - bool decode_flags) +MPERS_PRINTER_DECL(void, printmqattr, struct tcb *const tcp, + const kernel_ureg_t addr, const bool decode_flags) { #if defined HAVE_MQUEUE_H || defined HAVE_LINUX_MQUEUE_H mq_attr_t attr;