Skip to content

Commit b7b0314

Browse files
committed
Fix ancient compiler warnings and typos in !HAVE_SYMLINK code
This has never been correct since this code was introduced.
1 parent 773e2d2 commit b7b0314

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bin/initdb/initdb.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3422,7 +3422,7 @@ create_xlog_or_symlink(void)
34223422
exit_nicely();
34233423
}
34243424
#else
3425-
fprintf(stderr, _("%s: symlinks are not supported on this platform"));
3425+
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"), progname);
34263426
exit_nicely();
34273427
#endif
34283428
}

src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2248,7 +2248,7 @@ main(int argc, char **argv)
22482248
exit(1);
22492249
}
22502250
#else
2251-
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"));
2251+
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"), progname);
22522252
exit(1);
22532253
#endif
22542254
free(linkloc);

0 commit comments

Comments
 (0)