From: Paul Floyd Date: Sun, 29 Sep 2024 18:08:21 +0000 (+0200) Subject: macOS: fix build after changes for Bug 492663 X-Git-Tag: VALGRIND_3_24_0~57 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b3876521f080e13c68396520baa2b1d80baff575;p=thirdparty%2Fvalgrind.git macOS: fix build after changes for Bug 492663 Missed updating the macOS sections. --- diff --git a/coregrind/m_debuginfo/debuginfo.c b/coregrind/m_debuginfo/debuginfo.c index a6a0f79b3..ad05b9928 100644 --- a/coregrind/m_debuginfo/debuginfo.c +++ b/coregrind/m_debuginfo/debuginfo.c @@ -1364,9 +1364,9 @@ ULong VG_(di_notify_mmap)( Addr a, Bool allow_SkFileV, Int use_fd ) return 0; vg_assert(sr_Res(preadres) > 0 && sr_Res(preadres) <= sizeof(buf4k) ); - rw_load_count = 0; + expected_rw_load_count = 0; - if (!ML_(check_macho_and_get_rw_loads)( buf4k, (SizeT)sr_Res(preadres), &rw_load_count )) + if (!ML_(check_macho_and_get_rw_loads)( buf4k, (SizeT)sr_Res(preadres), &expected_rw_load_count )) return 0; #endif