Index: trunk/Ohana/src/opihi/pclient/ChildOps.c
===================================================================
--- trunk/Ohana/src/opihi/pclient/ChildOps.c	(revision 4772)
+++ trunk/Ohana/src/opihi/pclient/ChildOps.c	(revision 7917)
@@ -43,5 +43,5 @@
     Nbad ++;
     if (Nbad > 10) {
-      fprintf (stderr, "runaway!\n");
+      gprint (GP_ERR, "runaway!\n");
       exit (2);
     }
@@ -56,5 +56,5 @@
   switch (Nread) {
     case -2:  /* error in read (programming error?  system level error?) */
-      fprintf (stderr, "serious IO error\n");
+      gprint (GP_ERR, "serious IO error\n");
       exit (2);
     case -1:  /* no data in pipe */
@@ -71,5 +71,5 @@
   switch (Nread) {
     case -2:  /* error in read (programming error?  system level error?) */
-      fprintf (stderr, "serious IO error\n");
+      gprint (GP_ERR, "serious IO error\n");
       exit (2);
     case -1:  /* no data in pipe */
@@ -96,16 +96,16 @@
       switch (errno) {
 	case ECHILD:
-	  fprintf (stderr, "unknown PID, not a child proc\n");
-	  fprintf (stderr, "did process already exit?  programming error?\n");
+	  gprint (GP_ERR, "unknown PID, not a child proc\n");
+	  gprint (GP_ERR, "did process already exit?  programming error?\n");
 	  ChildStatus = PCLIENT_NONE;
 	  break;
 	case EINVAL:
-	  fprintf (stderr, "error EINVAL (waitpid): programming error\n");
+	  gprint (GP_ERR, "error EINVAL (waitpid): programming error\n");
 	  exit (1);
 	case EINTR:
-	  fprintf (stderr, "error EINTR (waitpid): programming error\n");
+	  gprint (GP_ERR, "error EINTR (waitpid): programming error\n");
 	  exit (1);
 	default:
-	  fprintf (stderr, "unknown error for waitpid (%d): programming error\n", errno);
+	  gprint (GP_ERR, "unknown error for waitpid (%d): programming error\n", errno);
 	  exit (1);
       }
@@ -118,5 +118,5 @@
     default:
       if (result != ChildPID) {
-	fprintf (stderr, "waitpid error: mis-matched PID (%d vs %d).  programming error\n", result, ChildPID);
+	gprint (GP_ERR, "waitpid error: mis-matched PID (%d vs %d).  programming error\n", result, ChildPID);
 	exit (1);
       }
@@ -131,5 +131,5 @@
       }
       if (WIFSTOPPED(waitstatus)) {
-	fprintf (stderr, "waitpid returns 'stopped': programming error\n");
+	gprint (GP_ERR, "waitpid returns 'stopped': programming error\n");
 	exit (1);
       }
