Index: trunk/psLib/src/sysUtils/psError.c
===================================================================
--- trunk/psLib/src/sysUtils/psError.c	(revision 3264)
+++ trunk/psLib/src/sysUtils/psError.c	(revision 3476)
@@ -10,6 +10,6 @@
  *  @author Eric Van Alst, MHPCC
  *
- *  @version $Revision: 1.22 $ $Name: not supported by cvs2svn $
- *  @date $Date: 2005-02-17 19:26:24 $
+ *  @version $Revision: 1.23 $ $Name: not supported by cvs2svn $
+ *  @date $Date: 2005-03-22 21:52:49 $
  *
  *  Copyright 2004-2005 Maui High Performance Computing Center, University of Hawaii
@@ -103,4 +103,27 @@
 
     return code;
+}
+
+void p_psWarning(const char* file,
+                 int lineno,
+                 const char* func,
+                 const char* fmt,
+                 ...)
+{
+    char msgName[1024];
+
+    snprintf(msgName,1024,"%s (%s:%d)",func,file,lineno);
+
+    va_list argPtr;             // variable list argument pointer
+
+    // Get the variable list parameters to pass to logging function
+    va_start(argPtr, fmt);
+
+    psLogMsgV(msgName, PS_LOG_WARN, fmt, argPtr);
+
+    // Clean up stack after variable argument has been used
+    va_end(argPtr);
+
+    return;
 }
 
