Changeset 7917 for trunk/Ohana/src/opihi/pcontrol/job.c
- Timestamp:
- Jul 16, 2006, 10:58:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/job.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/job.c
r4689 r7917 17 17 if ((N = get_argument (argc, argv, "+host"))) { 18 18 if (Mode == PCONTROL_JOB_WANTHOST) { 19 fprintf (stderr, "ERROR: -host and +host are incompatible\n");19 gprint (GP_ERR, "ERROR: -host and +host are incompatible\n"); 20 20 FREE (Host); 21 21 return (FALSE); … … 36 36 37 37 if (argc < 2) { 38 fprintf (stderr, "USAGE: job [options] (arg0) (arg1) ... (argN)\n");38 gprint (GP_ERR, "USAGE: job [options] (arg0) (arg1) ... (argN)\n"); 39 39 FREE (Host); 40 40 return (FALSE); … … 48 48 49 49 JobID = AddJob (Host, Mode, Timeout, targc, targv); 50 fprintf (stdout, "JobID: %d\n", (int) JobID);50 gprint (GP_LOG, "JobID: %d\n", (int) JobID); 51 51 return (TRUE); 52 52 }
Note:
See TracChangeset
for help on using the changeset viewer.
