Index: trunk/Ohana/src/opihi/pcontrol/StartJob.c
===================================================================
--- trunk/Ohana/src/opihi/pcontrol/StartJob.c	(revision 4763)
+++ trunk/Ohana/src/opihi/pcontrol/StartJob.c	(revision 7917)
@@ -13,5 +13,5 @@
   host = (Host *) job[0].host;
   if (host == NULL) {
-    fprintf (stderr, "programming error: no assigned host\n");
+    gprint (GP_ERR, "programming error: no assigned host\n");
     exit (1);
   }
@@ -36,17 +36,17 @@
   switch (status) {
     case PCLIENT_DOWN:
-      if (VerboseMode()) fprintf (stderr, "host %s is down\n", host[0].hostname);
+      if (VerboseMode()) gprint (GP_ERR, "host %s is down\n", host[0].hostname);
       goto failure;
 
     case PCLIENT_HUNG:
-      if (VerboseMode()) fprintf (stderr, "host %s is not responding\n", host[0].hostname);
+      if (VerboseMode()) gprint (GP_ERR, "host %s is not responding\n", host[0].hostname);
       goto failure;
 
     case PCLIENT_GOOD:
-      if (VerboseMode()) fprintf (stderr, "message received (StartJob)\n");  
+      if (VerboseMode()) gprint (GP_ERR, "message received (StartJob)\n");  
       break;
 
     default:
-      if (VerboseMode()) fprintf (stderr, "unknown status for pclient command: programming error\n");  
+      if (VerboseMode()) gprint (GP_ERR, "unknown status for pclient command: programming error\n");  
       exit (1);
   }
@@ -55,5 +55,5 @@
   p = memstr (buffer.buffer, "STATUS", buffer.Nbuffer);
   if (p == NULL) {
-    fprintf (stderr, "programming error: missing STATUS in pclient message\n");
+    gprint (GP_ERR, "programming error: missing STATUS in pclient message\n");
     exit (1);
   }
@@ -61,13 +61,13 @@
   switch (status) {
     case -1:
-      if (VerboseMode()) fprintf (stderr, "error in pclient child\n");
+      if (VerboseMode()) gprint (GP_ERR, "error in pclient child\n");
       goto failure;
 
     case -2:
-      fprintf (stderr, "programming error: syntax error in pclient command\n");
+      gprint (GP_ERR, "programming error: syntax error in pclient command\n");
       exit (1);
 
     case -3:
-      fprintf (stderr, "programming error: existing child on pclient\n");
+      gprint (GP_ERR, "programming error: existing child on pclient\n");
       exit (1);
 
@@ -81,5 +81,5 @@
   }
   /* we should never reach here */
-  fprintf (stderr, "programming error: should not reach here (StartJob)\n");
+  gprint (GP_ERR, "programming error: should not reach here (StartJob)\n");
   exit (1);
 
