]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix printing bug in PRE(sys_stat64).
authorJulian Seward <jseward@acm.org>
Thu, 4 May 2006 16:43:34 +0000 (16:43 +0000)
committerJulian Seward <jseward@acm.org>
Thu, 4 May 2006 16:43:34 +0000 (16:43 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5881

coregrind/m_syswrap/syswrap-x86-linux.c

index cf905a2d6cf33d8faf562da55f281e1909202fef..c1f714f0a5b54ff5cad90361a9710b731dab72f4 100644 (file)
@@ -1334,7 +1334,7 @@ POST(sys_lstat64)
 
 PRE(sys_stat64)
 {
-   PRINT("sys_stat64 ( %p(%s), %p )",ARG1,ARG2,ARG2);
+   PRINT("sys_stat64 ( %p(%s), %p )",ARG1,ARG1,ARG2);
    PRE_REG_READ2(long, "stat64", char *, file_name, struct stat64 *, buf);
    PRE_MEM_RASCIIZ( "stat64(file_name)", ARG1 );
    PRE_MEM_WRITE( "stat64(buf)", ARG2, sizeof(struct vki_stat64) );