Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitffcd98c

Browse files
committed
Fix ancient compiler warnings and typos in !HAVE_SYMLINK code
This has never been correct since this code was introduced.
1 parent1b02807 commitffcd98c

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)

[8]ページ先頭

©2009-2025 Movatter.jp