From: Dmitry V. Levin Date: Wed, 21 Dec 2016 13:18:12 +0000 (+0000) Subject: hdio: change type of ioctl 3rd argument from long to kernel_ureg_t X-Git-Tag: v4.16~218 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e86ff37e3f71f1a85d405419f924c4bf5ae81451;p=strace hdio: change type of ioctl 3rd argument from long to kernel_ureg_t * hdio.c (hdio_ioctl): Change arg type from long to kernel_ureg_t. --- diff --git a/hdio.c b/hdio.c index e9dbdf1a..97eca582 100644 --- a/hdio.c +++ b/hdio.c @@ -36,8 +36,8 @@ typedef struct hd_geometry struct_hd_geometry; #include MPERS_DEFS -MPERS_PRINTER_DECL(int, hdio_ioctl, struct tcb *tcp, - const unsigned int code, const long arg) +MPERS_PRINTER_DECL(int, hdio_ioctl, struct tcb *const tcp, + const unsigned int code, const kernel_ureg_t arg) { switch (code) { case HDIO_GETGEO: