Index: trunk/psModules/src/pmSubtractBias.c
===================================================================
--- trunk/psModules/src/pmSubtractBias.c	(revision 2148)
+++ trunk/psModules/src/pmSubtractBias.c	(revision 2275)
@@ -6,6 +6,6 @@
  *  @author George Gusciora, MHPCC
  *
- *  @version $Revision: 1.16 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2004-10-15 02:20:39 $
+ *  @version $Revision: 1.17 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2004-11-04 02:02:10 $
  *
  *  Copyright 2004 Maui High Performance Computing Center, University of Hawaii
@@ -38,8 +38,8 @@
 
     if (((in->image)->numRows + in->row0 - bias->row0) > (bias->image)->numRows) {
-        psError(__func__, "bias image does not have enough rows\n");
+        psError(PS_ERR_UNKNOWN,true, "bias image does not have enough rows\n");
     }
     if (((in->image)->numCols + in->row0 - bias->row0) > (bias->image)->numCols) {
-        psError(__func__, "bias image does not have enough columns\n");
+        psError(PS_ERR_UNKNOWN,true, "bias image does not have enough columns\n");
     }
 
@@ -130,5 +130,5 @@
 
     if (numOptions == 0) {
-        psError(__func__, "No statistics options have been specified\n");
+        psError(PS_ERR_UNKNOWN,true, "No statistics options have been specified\n");
     }
     if (numOptions != 1) {
@@ -189,5 +189,5 @@
         }
     } else {
-        psError(__func__, "unknown fit type\n");
+        psError(PS_ERR_UNKNOWN,true, "unknown fit type\n");
     }
 
@@ -219,5 +219,5 @@
     int nBin;
 
-    PS_CHECK_NULL_PTR_RETURN_NULL(in);
+    PS_PTR_CHECK_NULL(in,NULL);
 
     //
@@ -229,5 +229,5 @@
 
     if ((overscans == NULL) && (overScanAxis != PM_OVERSCAN_NONE)) {
-        psError(__func__, "(overscans == NULL) && (overScanAxis != PM_OVERSCAN_NONE)\n");
+        psError(PS_ERR_UNKNOWN,true, "(overscans == NULL) && (overScanAxis != PM_OVERSCAN_NONE)\n");
         return(in);
     }
