]> granicus.if.org Git - strace/blobdiff - netlink_unix_diag.c
tests: fix build with recent kernel headers
[strace] / netlink_unix_diag.c
index 535c9f15a02f681e50b4e4396e5c0f0a897f5881..409180f5176d977eef89e069906dac91fc0aff2b 100644 (file)
@@ -1,7 +1,7 @@
 /*
  * Copyright (c) 2016 Fabien Siron <fabien.siron@epita.fr>
  * Copyright (c) 2017 JingPiao Chen <chenjingpiao@gmail.com>
- * Copyright (c) 2017 The strace developers.
+ * Copyright (c) 2017-2018 The strace developers.
  * All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
@@ -107,7 +107,7 @@ decode_unix_diag_inode(struct tcb *const tcp,
                return false;
 
        print_array(tcp, addr, nmemb, &inode, sizeof(inode),
-                   umoven_or_printaddr, print_inode, 0);
+                   tfetch_mem, print_inode, 0);
 
        return true;
 }