Fix typos
authorPeter Eisentraut
Mon, 18 May 2015 02:21:36 +0000 (22:21 -0400)
committerPeter Eisentraut
Mon, 18 May 2015 02:22:19 +0000 (22:22 -0400)
contrib/pg_upgrade/pg_upgrade.c
src/bin/pg_resetxlog/pg_resetxlog.c

index 72f8fac9b8bdac58c681d0f8cc47a73ecf846eae..464ba98a6537f792f887f7ac129c1e349dea525d 100644 (file)
@@ -246,7 +246,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;
    }
 
index 34615fb1cd9b3df5df4630854aa1fc4b7908f9d0..8a066b46012584b09830f775731546000785e7cb 100644 (file)
@@ -1099,7 +1099,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;
    }