]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Include the filename in the system call trace for the access syscall.
authorTom Hughes <tom@compton.nu>
Thu, 26 Aug 2004 12:26:27 +0000 (12:26 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 26 Aug 2004 12:26:27 +0000 (12:26 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@2622

coregrind/vg_syscalls.c

index c279aaee39ca787b902fe4c8cdeea31e685e1b31..1efebd3213fb86c484be92ea3c637139cecec997 100644 (file)
@@ -1838,7 +1838,7 @@ PRE(execve)
 PRE(access)
 {
    /* int access(const char *pathname, int mode); */
-   MAYBE_PRINTF("access ( %p, %d )\n", arg1,arg2);
+   MAYBE_PRINTF("access ( %p(%s), %d )\n", arg1,arg1,arg2);
    SYSCALL_TRACK( pre_mem_read_asciiz, tid, "access(pathname)", arg1 );
 }