11
11
* Portions Copyright (c) 1996-2007, PostgreSQL Global Development Group
12
12
* Portions Copyright (c) 1994, Regents of the University of California
13
13
*
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 $
15
15
*
16
16
*-------------------------------------------------------------------------
17
17
*/
@@ -886,14 +886,14 @@ spawn_process(const char *cmdline)
886
886
{
887
887
if (Advapi32Handle != NULL )
888
888
FreeLibrary (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" );
890
890
exit_nicely (2 );
891
891
}
892
892
893
893
/* Open the current token to use as base for the restricted one */
894
894
if (!OpenProcessToken (GetCurrentProcess (),TOKEN_ALL_ACCESS ,& origToken ))
895
895
{
896
- fprintf (stderr ,"Failed to open process token: %lu\n" ,GetLastError ());
896
+ fprintf (stderr ,"could not open process token: %lu\n" ,GetLastError ());
897
897
exit_nicely (2 );
898
898
}
899
899
@@ -904,7 +904,7 @@ spawn_process(const char *cmdline)
904
904
!AllocateAndInitializeSid (& NtAuthority ,2 ,
905
905
SECURITY_BUILTIN_DOMAIN_RID ,DOMAIN_ALIAS_RID_POWER_USERS ,0 ,0 ,0 ,0 ,0 ,0 ,& dropSids [1 ].Sid ))
906
906
{
907
- fprintf (stderr ,"Failed to allocate SIDs: %lu\n" ,GetLastError ());
907
+ fprintf (stderr ,"could not allocate SIDs: %lu\n" ,GetLastError ());
908
908
exit_nicely (2 );
909
909
}
910
910
@@ -923,7 +923,7 @@ spawn_process(const char *cmdline)
923
923
924
924
if (!b )
925
925
{
926
- fprintf (stderr ,"Failed to create restricted token: %lu\n" ,GetLastError ());
926
+ fprintf (stderr ,"could not create restricted token: %lu\n" ,GetLastError ());
927
927
exit_nicely (2 );
928
928
}
929
929