postgres.git / summary / log / commit / refs
commit 367b34a22c47241d35bfba8b4e644443cc00bdbd
Author: Peter Eisentraut <peter_e@gmx.net>
Date: Mon May 18 02:21:36 2015 +0000
First released in: 9.0.20, 9.1.16, 9.2.11, 9.3.7, 9.4.2
Fix typos
contrib/pg_upgrade/pg_upgrade.c | 2 +-
src/bin/pg_resetxlog/pg_resetxlog.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/contrib/pg_upgrade/pg_upgrade.c b/contrib/pg_upgrade/pg_upgrade.c
index 33035b5835f..96f902f7723 100644
--- a/contrib/pg_upgrade/pg_upgrade.c
+++ b/contrib/pg_upgrade/pg_upgrade.c
@@ -245,7 +245,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, const char
SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_POWER_USERS, 0, 0, 0, 0, 0,
0, &dropSids[1].Sid))
{
- fprintf(stderr, _("%s: could not to allocate SIDs: error code %lu\n"), progname, GetLastError());
+ fprintf(stderr, _("%s: could not allocate SIDs: error code %lu\n"), progname, GetLastError());
return 0;
}
diff --git a/src/bin/pg_resetxlog/pg_resetxlog.c b/src/bin/pg_resetxlog/pg_resetxlog.c
index 5aa6b6c5e3b..1a0f350f994 100644
--- a/src/bin/pg_resetxlog/pg_resetxlog.c
+++ b/src/bin/pg_resetxlog/pg_resetxlog.c
@@ -1143,7 +1143,7 @@ CreateRestrictedProcess(char *cmd, PROCESS_INFORMATION *processInfo, const char
SECURITY_BUILTIN_DOMAIN_RID, DOMAIN_ALIAS_RID_POWER_USERS, 0, 0, 0, 0, 0,
0, &dropSids[1].Sid))
{
- fprintf(stderr, _("%s: could not to allocate SIDs: error code %lu\n"), progname, GetLastError());
+ fprintf(stderr, _("%s: could not allocate SIDs: error code %lu\n"), progname, GetLastError());
return 0;
}
[parent: e427ea76409f]