Index: /branches/jch-memory/psLib/src/sys/psConfigure.c
===================================================================
--- /branches/jch-memory/psLib/src/sys/psConfigure.c	(revision 10900)
+++ /branches/jch-memory/psLib/src/sys/psConfigure.c	(revision 10901)
@@ -13,6 +13,6 @@
  *  @author Robert DeSonia, MHPCC
  *
- *  @version $Revision: 1.20 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-12-06 03:01:42 $
+ *  @version $Revision: 1.20.2.1 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2007-01-04 21:39:46 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -58,18 +58,4 @@
 }
 
-// Print details of a memory problem to the appropriate file
-static void memoryProblem(const psMemBlock *ptr, // the pointer to the problematic memory block.
-                          const char *file, // the file in which the problem originated
-                          int lineno    // the line number in which the problem originated
-                         )
-{
-    fprintf(memCheckFile,
-            "Memory corruption detected in memBlock %lu\n"
-            "\tFile %s, line %d, size %zd\n"
-            "\tPosts: %p %p %p\n",
-            ptr->id, file, lineno, ptr->userMemorySize, ptr->startblock, ptr->endblock,
-            (ptr + 1 + ptr->userMemorySize));
-}
-
 // Check the memory; intended for use on exit, but might be used elsewhere
 void p_psMemoryCheck(void)
@@ -93,6 +79,5 @@
 
     int nCorrupted;                     // Number of corrupted memory blocks
-    (void)psMemProblemCallbackSet((psMemProblemCallback)memoryProblem); // Set callback for corruption
-    nCorrupted = psMemCheckCorruption(false);
+    nCorrupted = psMemCheckCorruption(memCheckFile, false);
     if (nCorrupted > 0) {
         psError(PS_ERR_UNKNOWN, true, "%d memory blocks corrupted; list written to %s.\n", nCorrupted, memCheckName);
