summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorThomas Munro2025-02-18 01:44:59 +0000
committerThomas Munro2025-02-18 01:44:59 +0000
commit2509b857cc1067be628291864289f27325760477 (patch)
tree32d2e78fcd6c5d9a914375aa6932692668890cf8 /src
parent9cdc21b533d43829eb1337c8b16e147f6de7c53e (diff)
Fix typo in 2a8a0067.
Builds configured with Valgrind but without assertions would fail due to a typo in the recent change. This should be included when back-patching 2a8a0067 into v17.
Diffstat (limited to 'src')
-rw-r--r--src/backend/storage/aio/read_stream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/storage/aio/read_stream.c b/src/backend/storage/aio/read_stream.c
index 4b499dfb441..99e44ed99fe 100644
--- a/src/backend/storage/aio/read_stream.c
+++ b/src/backend/storage/aio/read_stream.c
@@ -789,8 +789,8 @@ read_stream_next_buffer(ReadStream *stream, void **per_buffer_data)
wipe_mem(per_buffer_data, stream->per_buffer_data_size);
#elif defined(USE_VALGRIND)
/* Tell it ourselves. */
- VALGRIND_MAKE_MEM_NO_ACCESS(per_buffer_data,
- stream->per_buffer_data_size);
+ VALGRIND_MAKE_MEM_NOACCESS(per_buffer_data,
+ stream->per_buffer_data_size);
#endif
}
#endif