Commit f4eabaf3 authored by Peter Eisentraut's avatar Peter Eisentraut

Fix ancient compiler warnings and typos in !HAVE_SYMLINK code

This has never been correct since this code was introduced.
parent c952eae5
...@@ -2942,7 +2942,7 @@ create_xlog_or_symlink(void) ...@@ -2942,7 +2942,7 @@ create_xlog_or_symlink(void)
exit_nicely(); exit_nicely();
} }
#else #else
fprintf(stderr, _("%s: symlinks are not supported on this platform")); fprintf(stderr, _("%s: symlinks are not supported on this platform\n"), progname);
exit_nicely(); exit_nicely();
#endif #endif
} }
......
...@@ -2588,7 +2588,7 @@ main(int argc, char **argv) ...@@ -2588,7 +2588,7 @@ main(int argc, char **argv)
disconnect_and_exit(1); disconnect_and_exit(1);
} }
#else #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); disconnect_and_exit(1);
#endif #endif
free(linkloc); free(linkloc);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment