mirror of
https://github.com/postgres/postgres.git
synced 2025-06-07 11:02:12 +03: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
773e2d29cd
commit
b7b0314b80
@ -3422,7 +3422,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
|
||||||
}
|
}
|
||||||
|
@ -2248,7 +2248,7 @@ main(int argc, char **argv)
|
|||||||
exit(1);
|
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);
|
||||||
exit(1);
|
exit(1);
|
||||||
#endif
|
#endif
|
||||||
free(linkloc);
|
free(linkloc);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user