]> granicus.if.org Git - strace/blobdiff - ubi.c
io: change size types from unsigned long to kernel_ureg_t
[strace] / ubi.c
diff --git a/ubi.c b/ubi.c
index dfac0be0f298d5a2ebf05e9e9563bb735934dc7a..4d46a3cd0bdbd3b9e383dc0591ddd9fa33d1d7ff 100644 (file)
--- a/ubi.c
+++ b/ubi.c
@@ -40,7 +40,8 @@
 #include "xlat/ubi_volume_props.h"
 
 int
-ubi_ioctl(struct tcb *tcp, const unsigned int code, const long arg)
+ubi_ioctl(struct tcb *const tcp, const unsigned int code,
+         const kernel_ureg_t arg)
 {
        if (!verbose(tcp))
                return RVAL_DECODED;