Index: trunk/psModules/src/pmReadoutCombine.c
===================================================================
--- trunk/psModules/src/pmReadoutCombine.c	(revision 2270)
+++ trunk/psModules/src/pmReadoutCombine.c	(revision 2275)
@@ -5,6 +5,6 @@
  *  @author GLG, MHPCC
  *
- *  @version $Revision: 1.1 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-11-03 22:10:37 $
+ *  @version $Revision: 1.2 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-11-04 02:02:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -15,6 +15,5 @@
 #include<math.h>
 #include "pslib.h"
-// XXX: have Desonia do this correctly.
-#include "../../psLib/src/dataManip/psConstants.h"
+#include "psConstants.h"
 
 typedef struct
@@ -90,5 +89,5 @@
         // XXX
         if (numInputCols != tmpReadout->image->numCols) {
-            psError(__func__, "Image %d not same size as other input images (%d, %d)\n",
+            psError(PS_ERR_UNKNOWN,true, "Image %d not same size as other input images (%d, %d)\n",
                     tmpReadout->image->numRows, tmpReadout->image->numCols);
             return(NULL);
@@ -96,5 +95,5 @@
         // XXX
         if (numInputRows != tmpReadout->image->numRows) {
-            psError(__func__, "Image %d not same size as other input images (%d, %d)\n",
+            psError(PS_ERR_UNKNOWN,true, "Image %d not same size as other input images (%d, %d)\n",
                     tmpReadout->image->numRows, tmpReadout->image->numCols);
             return(NULL);
@@ -111,5 +110,5 @@
 
     if (1 < p_psDetermineNumBits(params->stats->options)) {
-        psError(__func__, "Multiple statistical options have been requested.\n");
+        psError(PS_ERR_UNKNOWN,true, "Multiple statistical options have been requested.\n");
         return(NULL);
     }
@@ -175,5 +174,5 @@
             double statValue;
             if (!p_psGetStatValue(stats, &statValue)) {
-                psError(__func__, "Could not determine stats value.\n");
+                psError(PS_ERR_UNKNOWN,true, "Could not determine stats value.\n");
                 return(NULL);
             } else {
