]> granicus.if.org Git - strace/blobdiff - hdio.c
tests: check decoding of netlink smc_diag_msg attributes
[strace] / hdio.c
diff --git a/hdio.c b/hdio.c
index e9dbdf1ac11d4b25d32e8b806879fcf72df85550..6e256d94bfb154296d14f9a5d8d63635a7ced5fa 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_ulong_t arg)
 {
        switch (code) {
        case HDIO_GETGEO: