]> granicus.if.org Git - strace/blobdiff - ptp.c
travis: add build environment information to the travis log
[strace] / ptp.c
diff --git a/ptp.c b/ptp.c
index f01f9c4c00deabd78d18cb4d3f83fb0fc0dfc093..6a8a9d268568ff57e169ae6ee0e9a31ea0152ae9 100644 (file)
--- a/ptp.c
+++ b/ptp.c
@@ -1,6 +1,7 @@
 /*
  * Copyright (c) 2014 Stefan Sørensen <stefan.sorensen@spectralink.com>
  * Copyright (c) 2014-2015 Dmitry V. Levin <ldv@altlinux.org>
+ * Copyright (c) 2014-2017 The strace developers.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -34,7 +35,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 +73,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: {