]> granicus.if.org Git - strace/blobdiff - ptp.c
Fix the length argument passed from print_iovec to decode_netlink
[strace] / ptp.c
diff --git a/ptp.c b/ptp.c
index f01f9c4c00deabd78d18cb4d3f83fb0fc0dfc093..e2a720bac1b03d1f6d2a83b6790d4185c4622893 100644 (file)
--- a/ptp.c
+++ b/ptp.c
@@ -34,7 +34,7 @@
 
 int
 ptp_ioctl(struct tcb *const tcp, const unsigned int code,
-         const kernel_ureg_t arg)
+         const kernel_ulong_t arg)
 {
        if (!verbose(tcp))
                return RVAL_DECODED;
@@ -72,7 +72,7 @@ ptp_ioctl(struct tcb *const tcp, const unsigned int code,
        }
 
        case PTP_ENABLE_PPS:
-               tprintf(", %" PRI_krd, arg);
+               tprintf(", %" PRI_kld, arg);
                break;
 
        case PTP_SYS_OFFSET: {