diff options
author | Peter Eisentraut <peter_e@gmx.net> | 2012-03-30 20:40:46 +0300 |
---|---|---|
committer | Peter Eisentraut <peter_e@gmx.net> | 2012-03-30 20:40:46 +0300 |
commit | 1d1361b6b77242f519c3cbb10fede4478ba6444f (patch) | |
tree | efef9d4dca53e82ac48ff60cc81b0d57d066f824 /src/bin/pg_basebackup/pg_basebackup.c | |
parent | 6ca365bff28e52dc14500df84e7b3230d4c292eb (diff) | |
download | postgresql-1d1361b6b77242f519c3cbb10fede4478ba6444f.tar.gz postgresql-1d1361b6b77242f519c3cbb10fede4478ba6444f.zip |
Replace printf format %i by %d
see also ce8d7bb6440710058503d213b2aafcdf56a5b481
Diffstat (limited to 'src/bin/pg_basebackup/pg_basebackup.c')
-rw-r--r-- | src/bin/pg_basebackup/pg_basebackup.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bin/pg_basebackup/pg_basebackup.c b/src/bin/pg_basebackup/pg_basebackup.c index 5f37416d51c..0289c4bc4f8 100644 --- a/src/bin/pg_basebackup/pg_basebackup.c +++ b/src/bin/pg_basebackup/pg_basebackup.c @@ -929,7 +929,7 @@ BaseBackup(void) } if (PQntuples(res) != 1 || PQnfields(res) != 3) { - fprintf(stderr, _("%s: could not identify system, got %i rows and %i fields\n"), + fprintf(stderr, _("%s: could not identify system, got %d rows and %d fields\n"), progname, PQntuples(res), PQnfields(res)); disconnect_and_exit(1); } @@ -1111,7 +1111,7 @@ BaseBackup(void) } if (r != bgchild) { - fprintf(stderr, _("%s: child %i died, expected %i\n"), + fprintf(stderr, _("%s: child %d died, expected %d\n"), progname, r, (int) bgchild); disconnect_and_exit(1); } @@ -1123,7 +1123,7 @@ BaseBackup(void) } if (WEXITSTATUS(status) != 0) { - fprintf(stderr, _("%s: child process exited with error %i\n"), + fprintf(stderr, _("%s: child process exited with error %d\n"), progname, WEXITSTATUS(status)); disconnect_and_exit(1); } |