]> granicus.if.org Git - strace/blobdiff - stat.c
mem: decode hugetlb page size in mmap flags
[strace] / stat.c
diff --git a/stat.c b/stat.c
index 2143819f238315d5dfb6a930075ea17ea06d0623..0e07e8a39a555f06ca5f2d3667766ae24e104621 100644 (file)
--- a/stat.c
+++ b/stat.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_stat(struct tcb *tcp, const unsigned long addr)
+decode_struct_stat(struct tcb *const tcp, const kernel_ulong_t addr)
 {
        struct strace_stat st;