From: Paul Floyd Date: Fri, 29 Aug 2025 06:22:17 +0000 (+0200) Subject: FreeBSD: fix build error X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b35918dd1eed60066d097c62a1f5fec6cb51e354;p=thirdparty%2Fvalgrind.git FreeBSD: fix build error Deleteted wrong variable when doing *at() syscall refactoring. --- diff --git a/coregrind/m_syswrap/syswrap-freebsd.c b/coregrind/m_syswrap/syswrap-freebsd.c index 8934b76ad..1a3bbe214 100644 --- a/coregrind/m_syswrap/syswrap-freebsd.c +++ b/coregrind/m_syswrap/syswrap-freebsd.c @@ -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",