Index: trunk/psLib/src/sys/psError.c
===================================================================
--- trunk/psLib/src/sys/psError.c	(revision 8226)
+++ trunk/psLib/src/sys/psError.c	(revision 8247)
@@ -10,6 +10,6 @@
  *  @author Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.31 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2006-08-08 01:53:31 $
+ *  @version $Revision: 1.32 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2006-08-09 03:20:08 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -105,8 +105,7 @@
     #ifndef PS_NO_TRACE
     // Call tracing function with PS_LOG_ERROR level
-    psString facil = NULL;
-    psStringAppend(&facil, "err.%s", func);
-    psTrace(facil, PS_LOG_ERROR, "%s : %s", err->name, err->msg);
-    psFree(facil);
+    // p_psTrace() automatically appends the the function name to the facility
+    // for us
+    p_psTrace(__FILE__, __LINE__, func, "err", PS_LOG_ERROR, "%s : %s", err->name, err->msg);
     #endif
 
