aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/pg_basebackup.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_basebackup/pg_basebackup.c')
-rw-r--r--src/bin/pg_basebackup/pg_basebackup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c
index bf88726f326..4cb430b7e89 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -1103,7 +1103,7 @@ BaseBackup(void)
if (r != bgchild)
{
fprintf(stderr, _("%s: child %i died, expected %i\n"),
- progname, r, bgchild);
+ progname, r, (int) bgchild);
disconnect_and_exit(1);
}
if (!WIFEXITED(status))