]> granicus.if.org Git - strace/commitdiff
hdio: change type of ioctl 3rd argument from long to kernel_ureg_t
authorDmitry V. Levin <ldv@altlinux.org>
Wed, 21 Dec 2016 13:18:12 +0000 (13:18 +0000)
committerDmitry V. Levin <ldv@altlinux.org>
Sun, 25 Dec 2016 11:32:44 +0000 (11:32 +0000)
* hdio.c (hdio_ioctl): Change arg type from long to kernel_ureg_t.

hdio.c

diff --git a/hdio.c b/hdio.c
index e9dbdf1ac11d4b25d32e8b806879fcf72df85550..97eca582bd2f8c24b74c1d3a3f7c398199f7f5ca 100644 (file)
--- 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: