1111 * Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
1212 * Portions Copyright (c) 1994, Regents of the University of California
1313 *
14- * $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.31 2007/02/08 19:48:28 tgl Exp $
14+ * $PostgreSQL: pgsql/src/test/regress/pg_regress.c,v 1.32 2007/05/31 15:13:06 petere Exp $
1515 *
1616 *-------------------------------------------------------------------------
1717 */
@@ -886,14 +886,14 @@ spawn_process(const char *cmdline)
886886 {
887887if (Advapi32Handle != NULL )
888888FreeLibrary (Advapi32Handle );
889- fprintf (stderr ,"ERROR:Unable to create restricted tokens on this platform\n" );
889+ fprintf (stderr ,"ERROR:cannot create restricted tokens on this platform\n" );
890890exit_nicely (2 );
891891 }
892892
893893/* Open the current token to use as base for the restricted one */
894894if (!OpenProcessToken (GetCurrentProcess (),TOKEN_ALL_ACCESS ,& origToken ))
895895 {
896- fprintf (stderr ,"Failed to open process token: %lu\n" ,GetLastError ());
896+ fprintf (stderr ,"could not open process token: %lu\n" ,GetLastError ());
897897exit_nicely (2 );
898898 }
899899
@@ -904,7 +904,7 @@ spawn_process(const char *cmdline)
904904 !AllocateAndInitializeSid (& NtAuthority ,2 ,
905905SECURITY_BUILTIN_DOMAIN_RID ,DOMAIN_ALIAS_RID_POWER_USERS ,0 ,0 ,0 ,0 ,0 ,0 ,& dropSids [1 ].Sid ))
906906 {
907- fprintf (stderr ,"Failed to allocate SIDs: %lu\n" ,GetLastError ());
907+ fprintf (stderr ,"could not allocate SIDs: %lu\n" ,GetLastError ());
908908exit_nicely (2 );
909909 }
910910
@@ -923,7 +923,7 @@ spawn_process(const char *cmdline)
923923
924924if (!b )
925925 {
926- fprintf (stderr ,"Failed to create restricted token: %lu\n" ,GetLastError ());
926+ fprintf (stderr ,"could not create restricted token: %lu\n" ,GetLastError ());
927927exit_nicely (2 );
928928 }
929929