aboutsummaryrefslogtreecommitdiff
path: root/src/fe_utils/archive.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fe_utils/archive.c')
-rw-r--r--src/fe_utils/archive.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/fe_utils/archive.c b/src/fe_utils/archive.c
index 1e9d994af63..252dc0fb6a5 100644
--- a/src/fe_utils/archive.c
+++ b/src/fe_utils/archive.c
@@ -71,9 +71,9 @@ RestoreArchivedFile(const char *path, const char *xlogfname,
{
if (expectedSize > 0 && stat_buf.st_size != expectedSize)
{
- pg_log_fatal("unexpected file size for \"%s\": %lu instead of %lu",
- xlogfname, (unsigned long) stat_buf.st_size,
- (unsigned long) expectedSize);
+ pg_log_fatal("unexpected file size for \"%s\": %lld instead of %lld",
+ xlogfname, (long long int) stat_buf.st_size,
+ (long long int) expectedSize);
exit(1);
}
else