mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-12-09 08:10:09 +08:00
Fix ancient compiler warnings and typos in !HAVE_SYMLINK code
This has never been correct since this code was introduced.
This commit is contained in:
parent
c952eae52a
commit
f4eabaf3e0
@ -2942,7 +2942,7 @@ create_xlog_or_symlink(void)
|
||||
exit_nicely();
|
||||
}
|
||||
#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();
|
||||
#endif
|
||||
}
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user