]> granicus.if.org Git - strace/blobdiff - stat64.c
print_array: enhance printing of unfetchable object addresses
[strace] / stat64.c
index 3c816cd0dc1f87d153e841fc46705539fc9390c0..97191c038ac21cd12307ebb10ab398a298dbcf43 100644 (file)
--- a/stat64.c
+++ b/stat64.c
@@ -1,5 +1,6 @@
 /*
  * Copyright (c) 2005-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
@@ -29,7 +30,7 @@
 #include "stat.h"
 
 static void
-decode_struct_stat64(struct tcb *tcp, const unsigned long addr)
+decode_struct_stat64(struct tcb *const tcp, const kernel_ulong_t addr)
 {
        struct strace_stat st;