8000 Replace %llu by PRIu64 in AIO io_uring code · theory/postgres@2c76c6a · GitHub
[go: up one dir, main page]

Skip to content

Commit 2c76c6a

Browse files
committed
Replace %llu by PRIu64 in AIO io_uring code
This is a continuation of 15a79c7, cleaning up the AIO io_uring code that has been committed after that while still using %llu. The code changed here is new in v18, so cleaning things now means less conflicts if this area of the code changes on backpatch once the 18 stable branch is created. Reviewed-by: Nathan Bossart <nathandbossart@gmail.com> Reviewed-by: Peter Eisentraut <peter@eisentraut.org> Discussion: https://postgr.es/m/aEZcGCnYFq642q8k@paquier.xyz
1 parent 84914e9 commit 2c76c6a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/backend/storage/aio/method_io_uring.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -400,9 +400,9 @@ pgaio_uring_wait_one(PgAioHandle *ioh, uint64 ref_generation)
400400
while (true)
401401
{
402402
pgaio_debug_io(DEBUG3, ioh,
403-
"wait_one io_gen: %llu, ref_gen: %llu, cycle %d",
404-
(long long unsigned) ioh->generation,
405-
(long long unsigned) ref_generation,
403+
"wait_one io_gen: %" PRIu64 ", ref_gen: %" PRIu64 ", cycle %d",
404+
ioh->generation,
405+
ref_generation,
406406
waited);
407407

408408
if (pgaio_io_was_recycled(ioh, ref_generation, &state) ||

0 commit comments

Comments
 (0)
0