Skip to content

Commit f9054b7

Browse files
committed
Fix format code in fd.c debugging infrastructure
These were not sufficiently adjusted in 2d4f1ba.
1 parent 558cf80 commit f9054b7

File tree

1 file changed

+3
-3
lines changed
  • src/backend/storage/file

1 file changed

+3
-3
lines changed

src/backend/storage/file/fd.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1988,9 +1988,9 @@ FilePrefetch(File file, off_t offset, off_t amount, uint32 wait_event_info)
19881988

19891989
Assert(FileIsValid(file));
19901990

1991-
DO_DB(elog(LOG, "FilePrefetch: %d (%s) " INT64_FORMAT " %d",
1991+
DO_DB(elog(LOG, "FilePrefetch: %d (%s) " INT64_FORMAT " " INT64_FORMAT,
19921992
file, VfdCache[file].fileName,
1993-
(int64) offset, amount));
1993+
(int64) offset, (int64) amount));
19941994

19951995
returnCode = FileAccess(file);
19961996
if (returnCode < 0)
@@ -2096,7 +2096,7 @@ FileWrite(File file, const void *buffer, size_t amount, off_t offset,
20962096

20972097
Assert(FileIsValid(file));
20982098

2099-
DO_DB(elog(LOG, "FileWrite: %d (%s) " INT64_FORMAT " %d %p",
2099+
DO_DB(elog(LOG, "FileWrite: %d (%s) " INT64_FORMAT " %zu %p",
21002100
file, VfdCache[file].fileName,
21012101
(int64) offset,
21022102
amount, buffer));

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy