Skip to content

Commit 2509b85

Browse files
committed
Fix typo in 2a8a006.
Builds configured with Valgrind but without assertions would fail due to a typo in the recent change. This should be included when back-patching 2a8a006 into v17.
1 parent 9cdc21b commit 2509b85

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/backend/storage/aio/read_stream.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -789,8 +789,8 @@ read_stream_next_buffer(ReadStream *stream, void **per_buffer_data)
789789
wipe_mem(per_buffer_data, stream->per_buffer_data_size);
790790
#elif defined(USE_VALGRIND)
791791
/* Tell it ourselves. */
792-
VALGRIND_MAKE_MEM_NO_ACCESS(per_buffer_data,
793-
stream->per_buffer_data_size);
792+
VALGRIND_MAKE_MEM_NOACCESS(per_buffer_data,
793+
stream->per_buffer_data_size);
794794
#endif
795795
}
796796
#endif

0 commit comments

Comments
 (0)