]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Use correct tag names in sys_getdents/64 wrappers.
authorFlorian Krohm <florian@eich-krohm.de>
Sat, 4 Oct 2014 21:32:06 +0000 (21:32 +0000)
committerFlorian Krohm <florian@eich-krohm.de>
Sat, 4 Oct 2014 21:32:06 +0000 (21:32 +0000)
Patch by Ivo Raisr (ivosh@ivosh.net).
Fixes BZ #339645

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14599

NEWS
coregrind/m_syswrap/syswrap-generic.c

diff --git a/NEWS b/NEWS
index f1a13eebd4be47bede5b3eaad74c83015353dee3..a9c16fa4a58f28c1e86ca0db33d73e841476aade 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -31,6 +31,7 @@ where XXXXXX is the bug number as listed below.
 339020 ppc64: memcheck/tests/ppc64/power_ISA2_05 failing in nightly build
 339156 gdbsrv not called for fatal signal
 339442 Fix testsuite build failure on OS X 10.9
+339645 Use correct tag names in sys_getdents/64 wrappers
 n-i-bz Old STABS code is still being compiled, but never used. Remove it.
 n-i-bz Fix compilation on distros with glibc < 2.5
 339182 ppc64: AvSplat ought to load destination vector register with 16/16
index 0fa172cda3eff80a1be39fa20b03071400878411..8676e7c9a1cee1cc4248cd176e7383af8b87be0b 100644 (file)
@@ -3242,7 +3242,7 @@ PRE(sys_getdents)
    *flags |= SfMayBlock;
    PRINT("sys_getdents ( %ld, %#lx, %ld )", ARG1,ARG2,ARG3);
    PRE_REG_READ3(long, "getdents",
-                 unsigned int, fd, struct linux_dirent *, dirp,
+                 unsigned int, fd, struct vki_dirent *, dirp,
                  unsigned int, count);
    PRE_MEM_WRITE( "getdents(dirp)", ARG2, ARG3 );
 }
@@ -3259,7 +3259,7 @@ PRE(sys_getdents64)
    *flags |= SfMayBlock;
    PRINT("sys_getdents64 ( %ld, %#lx, %ld )",ARG1,ARG2,ARG3);
    PRE_REG_READ3(long, "getdents64",
-                 unsigned int, fd, struct linux_dirent64 *, dirp,
+                 unsigned int, fd, struct vki_dirent64 *, dirp,
                  unsigned int, count);
    PRE_MEM_WRITE( "getdents64(dirp)", ARG2, ARG3 );
 }