]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
FreeBSD: fix build error
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 29 Aug 2025 06:22:17 +0000 (08:22 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 29 Aug 2025 06:22:17 +0000 (08:22 +0200)
Deleteted wrong variable when doing *at() syscall refactoring.

coregrind/m_syswrap/syswrap-freebsd.c

index 8934b76ad280db1cc20d21b356088ffd96b9d44d..1a3bbe214360a0a2eae5f42cfe481945b811ddf9 100644 (file)
@@ -5453,7 +5453,7 @@ POST(sys_openat)
 //                    size_t bufsize);
 PRE(sys_readlinkat)
 {
-   const HChar *path = (const HChar*)ARG2;
+   Bool curproc_file = False;
 
    PRINT("sys_readlinkat ( %" FMT_REGWORD "u, %#" FMT_REGWORD "x(%s), %#" FMT_REGWORD "x, %llu )", ARG1,ARG2,(char*)ARG2,ARG3,(ULong)ARG4);
    PRE_REG_READ4(ssize_t, "readlinkat",