Skip to content

Commit c893245

Browse files
committed
test_slru: Fix incorrect format placeholders
Before commit a0ed19e there was a cast around these, but the cast inadvertently changed the signedness, but that made the format placeholder correct. Commit a0ed19e removed the casts, so now the format placeholders had the wrong signedness.
1 parent 9807617 commit c893245

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/test/modules/test_slru/test_slru.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ test_slru_page_sync(PG_FUNCTION_ARGS)
151151
ftag.segno = pageno / SLRU_PAGES_PER_SEGMENT;
152152
SlruSyncFileTag(TestSlruCtl, &ftag, path);
153153

154-
elog(NOTICE, "Called SlruSyncFileTag() for segment %" PRId64 " on path %s",
154+
elog(NOTICE, "Called SlruSyncFileTag() for segment %" PRIu64 " on path %s",
155155
ftag.segno, path);
156156

157157
PG_RETURN_VOID();
@@ -166,7 +166,7 @@ test_slru_page_delete(PG_FUNCTION_ARGS)
166166
ftag.segno = pageno / SLRU_PAGES_PER_SEGMENT;
167167
SlruDeleteSegment(TestSlruCtl, ftag.segno);
168168

169-
elog(NOTICE, "Called SlruDeleteSegment() for segment %" PRId64,
169+
elog(NOTICE, "Called SlruDeleteSegment() for segment %" PRIu64,
170170
ftag.segno);
171171

172172
PG_RETURN_VOID();

0 commit comments

Comments
 (0)