diff options
| author | Peter Eisentraut <peter@eisentraut.org> | 2020-05-08 13:33:00 +0200 |
|---|---|---|
| committer | Peter Eisentraut <peter@eisentraut.org> | 2020-05-08 13:34:53 +0200 |
| commit | 7666ef313dcc22c8716ee74dfefab8e5ea628678 (patch) | |
| tree | 533ad63e0d01dcc3e2200a96b6cb0ab39a0d8fab /src/bin/pg_verifybackup/pg_verifybackup.c | |
| parent | 086ffddf3656fb3d24d9a73ce36cb1102e42cc90 (diff) | |
Unify find_other_exec() error messages
There were a few different ways to line-wrap the error messages. Make
them all the same, and use placeholders for the actual program names,
to save translation work.
Diffstat (limited to 'src/bin/pg_verifybackup/pg_verifybackup.c')
| -rw-r--r-- | src/bin/pg_verifybackup/pg_verifybackup.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/pg_verifybackup/pg_verifybackup.c b/src/bin/pg_verifybackup/pg_verifybackup.c index a54130b3204..2fa2aa6ae04 100644 --- a/src/bin/pg_verifybackup/pg_verifybackup.c +++ b/src/bin/pg_verifybackup/pg_verifybackup.c @@ -295,13 +295,13 @@ main(int argc, char **argv) if (find_my_exec(argv[0], full_path) < 0) strlcpy(full_path, progname, sizeof(full_path)); if (ret == -1) - pg_log_fatal("The program \"%s\" is needed by %s but was\n" - "not found in the same directory as \"%s\".\n" + pg_log_fatal("The program \"%s\" is needed by %s but was not found in the\n" + "same directory as \"%s\".\n" "Check your installation.", "pg_waldump", "pg_verifybackup", full_path); else - pg_log_fatal("The program \"%s\" was found by \"%s\" but was\n" - "not the same version as %s.\n" + pg_log_fatal("The program \"%s\" was found by \"%s\"\n" + "but was not the same version as %s.\n" "Check your installation.", "pg_waldump", full_path, "pg_verifybackup"); } |
