From e86ff37e3f71f1a85d405419f924c4bf5ae81451 Mon Sep 17 00:00:00 2001 From: "Dmitry V. Levin" Date: Wed, 21 Dec 2016 13:18:12 +0000 Subject: [PATCH] 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. --- hdio.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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: -- 2.50.1