summaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/pg_basebackup.c
diff options
context:
space:
mode:
authorPeter Eisentraut <peter_e@gmx.net>2018-12-22 07:21:40 +0100
committerPeter Eisentraut <peter_e@gmx.net>2018-12-22 07:21:40 +0100
commitf4eabaf3e0f84d5eb3ebdeeff0a71cb8db4b1ff6 (patch)
treeef927745a6c8443e55e100b26a61214b375c672e /src/bin/pg_basebackup/pg_basebackup.c
parentc952eae52a33069e2e92d34f217b43d0eca3d7de (diff)
Fix ancient compiler warnings and typos in !HAVE_SYMLINK code
This has never been correct since this code was introduced.
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 85c3812dd11..e4304c4a90a 100644
--- a/src/bin/pg_basebackup/pg_basebackup.c
+++ b/src/bin/pg_basebackup/pg_basebackup.c
@@ -2588,7 +2588,7 @@ main(int argc, char **argv)
disconnect_and_exit(1);
}
#else
- fprintf(stderr, _("%s: symlinks are not supported on this platform\n"));
+ fprintf(stderr, _("%s: symlinks are not supported on this platform\n"), progname);
disconnect_and_exit(1);
#endif
free(linkloc);