Index: trunk/Ohana/src/opihi/lib.shell/CommandOps.c
===================================================================
--- trunk/Ohana/src/opihi/lib.shell/CommandOps.c	(revision 4583)
+++ trunk/Ohana/src/opihi/lib.shell/CommandOps.c	(revision 7917)
@@ -33,5 +33,5 @@
   }
   if (Nc == -1) {
-    fprintf (stderr, "programming error: command not found\n");
+    gprint (GP_ERR, "programming error: command not found\n");
     return (FALSE);
   }
@@ -57,5 +57,5 @@
   }
   if (EXACT) {
-    if (VERBOSE) fprintf (stderr, "no exact match to %s\n", name);
+    if (VERBOSE) gprint (GP_ERR, "no exact match to %s\n", name);
     return (NULL);
   }
@@ -73,13 +73,13 @@
   if (Nmatch > 1) {
     if (VERBOSE) {
-      fprintf (stderr, "ambiguous command: %s ( ", name);
+      gprint (GP_ERR, "ambiguous command: %s ( ", name);
       for (i = 0; i < Nmatch; i++) {
-	fprintf (stderr, "%s ", commands[match[i]].name);
+	gprint (GP_ERR, "%s ", commands[match[i]].name);
       }
-      fprintf (stderr, ")\n");
+      gprint (GP_ERR, ")\n");
     }
     return (NULL);
   }
-  if (VERBOSE) fprintf (stderr, "%s: Command not found.\n", name);
+  if (VERBOSE) gprint (GP_ERR, "%s: Command not found.\n", name);
   return (NULL);
 }  
