]> granicus.if.org Git - strace/blobdiff - fetch_struct_flock.c
travis: add build environment information to the travis log
[strace] / fetch_struct_flock.c
index 773505fef510ca0b42018effc29fd46f2e558e80..1a57edfc32f3a533533af69577266bee81de880b 100644 (file)
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2015 Dmitry V. Levin <ldv@altlinux.org>
+ * Copyright (c) 2015-2017 The strace developers.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -52,7 +53,7 @@ typedef struct_kernel_flock64 struct_flock64;
         && FLOCK_MEMBERS_EQ(type, l_pid))
 
 MPERS_PRINTER_DECL(bool, fetch_struct_flock, struct tcb *const tcp,
-                  const kernel_ureg_t addr, void *const p)
+                  const kernel_ulong_t addr, void *const p)
 {
        struct_kernel_flock64 *pfl = p;
        struct_flock mfl;
@@ -72,7 +73,7 @@ MPERS_PRINTER_DECL(bool, fetch_struct_flock, struct tcb *const tcp,
 }
 
 MPERS_PRINTER_DECL(bool, fetch_struct_flock64, struct tcb *const tcp,
-                  const kernel_ureg_t addr, void *const p)
+                  const kernel_ulong_t addr, void *const p)
 {
        struct_kernel_flock64 *pfl = p;
        struct_flock64 mfl;