Index: trunk/Ohana/src/opihi/pcontrol/pclient.c
===================================================================
--- trunk/Ohana/src/opihi/pcontrol/pclient.c	(revision 4573)
+++ trunk/Ohana/src/opihi/pcontrol/pclient.c	(revision 4705)
@@ -12,9 +12,5 @@
 
   /* send command to client (adding on \n) */
-  /* fprintf (stderr, "send: %s (%d)\n", command, buffer[0].Nbuffer); */
-  ALLOCATE (line, char, MAX (1, strlen(command) + 1));
-  sprintf (line, "%s\n", command);
-  status = write (host[0].stdin, line, strlen(line));
-  free (line);
+  status = write_fmt (host[0].stdin, "%s\n", command);
 
   /* is pipe still open? */
