Changeset 7917 for trunk/Ohana/src/opihi/pantasks/controller_host.c
- Timestamp:
- Jul 16, 2006, 10:58:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pantasks/controller_host.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/controller_host.c
r6687 r7917 8 8 9 9 if (argc != 3) { 10 fprintf (stderr, "USAGE: controller host (command) (hostname)\n");10 gprint (GP_ERR, "USAGE: controller host (command) (hostname)\n"); 11 11 return (FALSE); 12 12 } … … 18 18 InitIOBuffer (&buffer, 0x100); 19 19 status = ControllerCommand (command, CONTROLLER_PROMPT, &buffer); 20 if (status) fwrite (buffer.buffer, 1, buffer.Nbuffer, stderr);20 if (status) gwrite (buffer.buffer, 1, buffer.Nbuffer, GP_LOG); 21 21 FreeIOBuffer (&buffer); 22 22 return (TRUE);
Note:
See TracChangeset
for help on using the changeset viewer.
