Index: trunk/Ohana/src/opihi/pclient/reset.c
===================================================================
--- trunk/Ohana/src/opihi/pclient/reset.c	(revision 4762)
+++ trunk/Ohana/src/opihi/pclient/reset.c	(revision 7917)
@@ -7,12 +7,12 @@
 
   if (argc != 1) {
-    fprintf (stderr, "USAGE: reset\n");
-    fprintf (GetOutfile(), "STATUS -1\n");
+    gprint (GP_ERR, "USAGE: reset\n");
+    gprint (GP_LOG, "STATUS -1\n");
     return (FALSE);
   }
   
   if (ChildStatus == PCLIENT_NONE) {
-    fprintf (stderr, "no child process, cannot reset\n");
-    fprintf (GetOutfile(), "STATUS 2\n");
+    gprint (GP_ERR, "no child process, cannot reset\n");
+    gprint (GP_LOG, "STATUS 2\n");
     return (TRUE);
   }
@@ -42,6 +42,6 @@
 
     /* total failure, don't reset */
-    fprintf (stderr, "child process %d is hung, cannot reset\n", ChildPID);
-    fprintf (GetOutfile(), "STATUS 0\n");
+    gprint (GP_ERR, "child process %d is hung, cannot reset\n", ChildPID);
+    gprint (GP_LOG, "STATUS 0\n");
     return (FALSE);
   }
@@ -62,5 +62,5 @@
   ChildExitStatus = 0;
 
-  fprintf (GetOutfile(), "STATUS 1\n");
+  gprint (GP_LOG, "STATUS 1\n");
   return (TRUE);
 }
