extern void print_struct_stat(struct tcb *tcp, const struct strace_stat *const st);
struct strace_statfs;
-extern void print_struct_statfs(struct tcb *tcp, long);
-extern void print_struct_statfs64(struct tcb *tcp, long, unsigned long);
+
+extern void
+print_struct_statfs(struct tcb *, kernel_ureg_t addr);
+
+extern void
+print_struct_statfs64(struct tcb *, kernel_ureg_t addr, unsigned long size);
extern void print_ifindex(unsigned int);
#include "statfs.h"
MPERS_PRINTER_DECL(bool, fetch_struct_statfs,
- struct tcb *tcp, const long addr, struct strace_statfs *p)
+ struct tcb *const tcp, const kernel_ureg_t addr,
+ struct strace_statfs *const p)
{
struct_statfs b;
#endif
MPERS_PRINTER_DECL(bool, fetch_struct_statfs64,
- struct tcb *tcp, const long addr, const unsigned long size,
- struct strace_statfs *p)
+ struct tcb *const tcp, const kernel_ureg_t addr,
+ const unsigned long size, struct strace_statfs *const p)
{
struct_statfs64 b;
}
void
-print_struct_statfs(struct tcb *tcp, const long addr)
+print_struct_statfs(struct tcb *const tcp, const kernel_ureg_t addr)
{
#ifdef HAVE_STRUCT_STATFS
struct strace_statfs b;
}
void
-print_struct_statfs64(struct tcb *tcp, const long addr, const unsigned long size)
+print_struct_statfs64(struct tcb *const tcp, const kernel_ureg_t addr,
+ const unsigned long size)
{
#ifdef HAVE_STRUCT_STATFS64
struct strace_statfs b;