Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f4eabaf

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 c952eae commit f4eabaf

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/bin/initdb/initdb.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2942,7 +2942,7 @@ create_xlog_or_symlink(void)
29422942
exit_nicely();
29432943
}
29442944
#else
2945-
fprintf(stderr, _("%s: symlinks are not supported on this platform"));
2945+
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"), progname);
29462946
exit_nicely();
29472947
#endif
29482948
}

src/bin/pg_basebackup/pg_basebackup.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -2588,7 +2588,7 @@ main(int argc, char **argv)
25882588
disconnect_and_exit(1);
25892589
}
25902590
#else
2591-
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"));
2591+
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"), progname);
25922592
disconnect_and_exit(1);
25932593
#endif
25942594
free(linkloc);

0 commit comments

Comments
 (0)