]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
macOS: fix build after changes for Bug 492663
authorPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 29 Sep 2024 18:08:21 +0000 (20:08 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Sun, 29 Sep 2024 18:08:21 +0000 (20:08 +0200)
Missed updating the macOS sections.

coregrind/m_debuginfo/debuginfo.c

index a6a0f79b3b249107d0e987372ba80d7ac604bb47..ad05b9928dcbdfc902fd9eb230de75457cef4af0 100644 (file)
@@ -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