Skip to content

Commit 669d9ea

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 e36e252 commit 669d9ea

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
@@ -2813,7 +2813,7 @@ create_xlog_or_symlink(void)
28132813
exit_nicely();
28142814
}
28152815
#else
2816-
fprintf(stderr, _("%s: symlinks are not supported on this platform"));
2816+
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"), progname);
28172817
exit_nicely();
28182818
#endif
28192819
}

src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2430,7 +2430,7 @@ main(int argc, char **argv)
24302430
disconnect_and_exit(1);
24312431
}
24322432
#else
2433-
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"));
2433+
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"), progname);
24342434
disconnect_and_exit(1);
24352435
#endif
24362436
free(linkloc);

0 commit comments

Comments
 (0)