mirror of
https://github.com/postgres/postgres.git
synced 2026-03-10 10:11:28 -04: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
1b02807457
commit
ffcd98c7fc
2 changed files with 2 additions and 2 deletions
|
|
@ -3206,7 +3206,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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -2280,7 +2280,7 @@ main(int argc, char **argv)
|
|||
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);
|
||||
exit(1);
|
||||
#endif
|
||||
free(linkloc);
|
||||
|
|
|
|||
Loading…
Reference in a new issue