Skip to content

Commit ffcd98c

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 1b02807 commit ffcd98c

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
@@ -3206,7 +3206,7 @@ create_xlog_or_symlink(void)
32063206
exit_nicely();
32073207
}
32083208
#else
3209-
fprintf(stderr, _("%s: symlinks are not supported on this platform"));
3209+
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"), progname);
32103210
exit_nicely();
32113211
#endif
32123212
}

src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2280,7 +2280,7 @@ main(int argc, char **argv)
22802280
exit(1);
22812281
}
22822282
#else
2283-
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"));
2283+
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"), progname);
22842284
exit(1);
22852285
#endif
22862286
free(linkloc);

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy