Index: trunk/Ohana/src/opihi/pcontrol/GetJobOutput.c
===================================================================
--- trunk/Ohana/src/opihi/pcontrol/GetJobOutput.c	(revision 4575)
+++ trunk/Ohana/src/opihi/pcontrol/GetJobOutput.c	(revision 4705)
@@ -14,8 +14,5 @@
 
   /* send cmd (stdout / stderr) */
-  ALLOCATE (line, char, MAX (1, strlen(cmd) + 1));
-  sprintf (line, "%s\n", cmd);
-  status = write (host[0].stdin, line, strlen(line));
-  free (line);
+  status = write_fmt (host[0].stdin, "%s\n", cmd);
 
   /* is pipe still open? */
