Display reason for failure
Modified: trunk/reactos/regtests/shared/regtests.c

Modified: trunk/reactos/regtests/shared/regtests.c
--- trunk/reactos/regtests/shared/regtests.c	2005-11-11 18:46:59 UTC (rev 19141)
+++ trunk/reactos/regtests/shared/regtests.c	2005-11-11 19:07:27 UTC (rev 19142)
@@ -145,7 +145,6 @@
 DisplayResult(PERFORM_TEST_ARGS* Args,
               LPSTR OutputBuffer)
 {
-  char Buffer[5000];
   char Format[100];
 
   if (Args->Result == TS_OK)
@@ -165,7 +164,7 @@
                                   Args->Time));
     }
   else
-      sprintf(OutputBuffer, "[%s] Failed (%s)\n", Args->TestName, Buffer);
+      sprintf(OutputBuffer, "[%s] Failed (%s)\n", Args->TestName, Args->Buffer);
 
   if (Args->OutputRoutine != NULL)
     (*Args->OutputRoutine)(OutputBuffer);