Content-Length: 287331 | pFad | http://github.com/postgrespro/postgres_cluster/commit/018923ccc1a68eeac852edeac2ba3bc91dcbd494

1F Fix ancient compiler warnings and typos in !HAVE_SYMLINK code · postgrespro/postgres_cluster@018923c · GitHub
Skip to content

Commit 018923c

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 8193d64 commit 018923c

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
@@ -2918,7 +2918,7 @@ create_xlog_or_symlink(void)
29182918
exit_nicely();
29192919
}
29202920
#else
2921-
fprintf(stderr, _("%s: symlinks are not supported on this platform"));
2921+
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"), progname);
29222922
exit_nicely();
29232923
#endif
29242924
}

src/bin/pg_basebackup/pg_basebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2523,7 +2523,7 @@ main(int argc, char **argv)
25232523
disconnect_and_exit(1);
25242524
}
25252525
#else
2526-
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"));
2526+
fprintf(stderr, _("%s: symlinks are not supported on this platform\n"), progname);
25272527
disconnect_and_exit(1);
25282528
#endif
25292529
free(linkloc);

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres_cluster/commit/018923ccc1a68eeac852edeac2ba3bc91dcbd494

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy