Index: /trunk/psLib/src/sys/psErrorCodes.h
===================================================================
--- /trunk/psLib/src/sys/psErrorCodes.h	(revision 480)
+++ /trunk/psLib/src/sys/psErrorCodes.h	(revision 480)
@@ -0,0 +1,19 @@
+#if !defined(PS_ERROR_CODES_H)
+#define PS_ERROR_CODES_H
+/*
+ * This file was machine generated from ../../src/Utils/psErrorCodes.dat;
+ * please do not modify it
+ */
+typedef enum {
+    PS_ERR_NONE = 0,
+    PS_ERR_BASE = 256,
+    PS_ERR_UNKNOWN,
+    PS_ERR_IO,
+    PS_ERR_BADFREE,
+    PS_ERR_MEMORY_CORRUPTION,
+    PS_ERR_MEMORY_EXHAUSTED,
+    PS_ERR_BAD_INDEX,
+    PS_ERR_N_ERR_CLASSES,
+} psErrorCode;
+
+#endif
Index: /trunk/psLib/src/sys/psLogMsg.c
===================================================================
--- /trunk/psLib/src/sys/psLogMsg.c	(revision 479)
+++ /trunk/psLib/src/sys/psLogMsg.c	(revision 480)
@@ -11,4 +11,7 @@
 /* #include "psLib.h" */
 #include "psLogMsg.h"
+#include "psError.h"
+#include "psErrorCodes.h"
+#include "psTrace.h"
 
 #define MIN_LOG_LEVEL 0
@@ -125,6 +128,7 @@
             break;
         default:
-            psError(__func__, PS_ERR_UNKNOWN, 1,
-                    "Unknown logging keyword %c", *ptr);
+            // GUS: figure out the psError() format:
+            //     psError(__func__, PS_ERR_UNKNOWN, 1,
+            //                   "Unknown logging keyword %c", *ptr);
             break;
         }
@@ -169,5 +173,5 @@
     static int first = 1;
     static char hostname[HOST_NAME_MAX + 1];
-    char clevel;   // letter-name for level
+    char clevel=0;   // letter-name for level
     char head[HOST_NAME_MAX + 40]; // yes, this is long enough
     char *head_ptr = head;  // where we've got to in head
Index: /trunk/psLib/src/sysUtils/psErrorCodes.h
===================================================================
--- /trunk/psLib/src/sysUtils/psErrorCodes.h	(revision 480)
+++ /trunk/psLib/src/sysUtils/psErrorCodes.h	(revision 480)
@@ -0,0 +1,19 @@
+#if !defined(PS_ERROR_CODES_H)
+#define PS_ERROR_CODES_H
+/*
+ * This file was machine generated from ../../src/Utils/psErrorCodes.dat;
+ * please do not modify it
+ */
+typedef enum {
+    PS_ERR_NONE = 0,
+    PS_ERR_BASE = 256,
+    PS_ERR_UNKNOWN,
+    PS_ERR_IO,
+    PS_ERR_BADFREE,
+    PS_ERR_MEMORY_CORRUPTION,
+    PS_ERR_MEMORY_EXHAUSTED,
+    PS_ERR_BAD_INDEX,
+    PS_ERR_N_ERR_CLASSES,
+} psErrorCode;
+
+#endif
Index: /trunk/psLib/src/sysUtils/psLogMsg.c
===================================================================
--- /trunk/psLib/src/sysUtils/psLogMsg.c	(revision 479)
+++ /trunk/psLib/src/sysUtils/psLogMsg.c	(revision 480)
@@ -11,4 +11,7 @@
 /* #include "psLib.h" */
 #include "psLogMsg.h"
+#include "psError.h"
+#include "psErrorCodes.h"
+#include "psTrace.h"
 
 #define MIN_LOG_LEVEL 0
@@ -125,6 +128,7 @@
             break;
         default:
-            psError(__func__, PS_ERR_UNKNOWN, 1,
-                    "Unknown logging keyword %c", *ptr);
+            // GUS: figure out the psError() format:
+            //     psError(__func__, PS_ERR_UNKNOWN, 1,
+            //                   "Unknown logging keyword %c", *ptr);
             break;
         }
@@ -169,5 +173,5 @@
     static int first = 1;
     static char hostname[HOST_NAME_MAX + 1];
-    char clevel;   // letter-name for level
+    char clevel=0;   // letter-name for level
     char head[HOST_NAME_MAX + 40]; // yes, this is long enough
     char *head_ptr = head;  // where we've got to in head
