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

Commit16a3415

Browse files
committed
Fix redundancy in error messages
pg_log_error() already prints the program name, so we don't need toprint it again inside the message.
1 parent95b44bb commit16a3415

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/bin/pg_combinebackup/pg_combinebackup.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ main(int argc, char *argv[])
212212

213213
if (optind >=argc)
214214
{
215-
pg_log_error("%s:no input directories specified",progname);
215+
pg_log_error("no input directories specified");
216216
pg_log_error_hint("Try \"%s --help\" for more information.",progname);
217217
exit(1);
218218
}

‎src/bin/pg_walsummary/pg_walsummary.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ main(int argc, char *argv[])
9191

9292
if (optind >=argc)
9393
{
94-
pg_log_error("%s:no input files specified",progname);
94+
pg_log_error("no input files specified");
9595
pg_log_error_hint("Try \"%s --help\" for more information.",progname);
9696
exit(1);
9797
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp