Index: trunk/psLib/src/sys/psErrorCodes.c.in
===================================================================
--- trunk/psLib/src/sys/psErrorCodes.c.in	(revision 7957)
+++ trunk/psLib/src/sys/psErrorCodes.c.in	(revision 7967)
@@ -7,6 +7,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.3 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-07-25 00:30:31 $
+ *  @version $Revision: 1.4 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-07-25 01:27:48 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -106,5 +106,5 @@
                      int errorCode)
 {
-    if (nerror < 1) {
+    if (errorCode < 1) {
         return;
     }
@@ -127,5 +127,5 @@
     }
 
-    for (psS32 i=0;i<nerror;i++) {
+    for (psS32 i = 0; i < errorCode; i++) {
         psErrorDescription* err = psErrorDescriptionAlloc(
                                       errors[i].code, errors[i].description);
