mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
make use of statfs64 and make code blocks adjacent
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2042
This commit is contained in:
parent
7b252e6097
commit
69fa3515ae
@ -4056,18 +4056,18 @@ PRE(statfs)
|
||||
arg2, sizeof(struct statfs) );
|
||||
}
|
||||
|
||||
POST(statfs)
|
||||
{
|
||||
VG_TRACK( post_mem_write, arg2, sizeof(struct statfs) );
|
||||
}
|
||||
|
||||
PRE(statfs64)
|
||||
{
|
||||
/* int statfs64(const char *path, struct statfs *buf); */
|
||||
MAYBE_PRINTF("statfs64 ( %p, %p )\n",arg1,arg2);
|
||||
SYSCALL_TRACK( pre_mem_read_asciiz, tid, "statfs64(path)", arg1 );
|
||||
SYSCALL_TRACK( pre_mem_write, tid, "statfs64(buf)",
|
||||
arg2, sizeof(struct statfs) );
|
||||
}
|
||||
|
||||
POST(statfs)
|
||||
{
|
||||
VG_TRACK( post_mem_write, arg2, sizeof(struct statfs) );
|
||||
arg2, sizeof(struct statfs64) );
|
||||
}
|
||||
|
||||
POST(statfs64)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user