Fix format modifier used in elog.
authorHeikki Linnakangas <[email protected]>
Mon, 18 Oct 2021 13:15:44 +0000 (16:15 +0300)
committerHeikki Linnakangas <[email protected]>
Mon, 18 Oct 2021 13:15:44 +0000 (16:15 +0300)
The previous commit 65014000b3 changed the variable passed to elog
from an int64 to a size_t variable, but neglected to change the modifier
in the format string accordingly.

Per failure on buildfarm member lapwing.

src/backend/utils/sort/tuplesort.c

index d8e8ccad1ff4d5101602f7eae3c8cfefd91d7d78..0c5c574cbd3d1e4ef6379befc3d28c4c89151cd7 100644 (file)
@@ -2911,7 +2911,7 @@ mergeruns(Tuplesortstate *state)
        USEMEM(state, state->availMem);
 #ifdef TRACE_SORT
        if (trace_sort)
-               elog(LOG, "worker %d using " INT64_FORMAT " KB of memory for tape buffers",
+               elog(LOG, "worker %d using %zu KB of memory for tape buffers",
                         state->worker, state->tape_buffer_mem / 1024);
 #endif