Changeset 7917 for trunk/Ohana/src/opihi/pantasks/kill.c
- Timestamp:
- Jul 16, 2006, 10:58:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pantasks/kill.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/kill.c
r6687 r7917 7 7 8 8 if (argc < 2) { 9 fprintf (stderr, "USAGE: kill (JobID)\n");9 gprint (GP_ERR, "USAGE: kill (JobID)\n"); 10 10 return (FALSE); 11 11 } … … 17 17 if (!KillLocalJob (job)) { 18 18 job[0].state = JOB_HUNG; 19 if (VerboseMode()) fprintf (stderr, "child process %d is hung, cannot kill\n", job[0].pid);19 if (VerboseMode()) gprint (GP_LOG, "child process %d is hung, cannot kill\n", job[0].pid); 20 20 return (FALSE); 21 21 } … … 23 23 if (!KillControllerJob (job)) { 24 24 job[0].state = JOB_HUNG; 25 if (VerboseMode()) fprintf (stderr, "child process %d is hung, cannot kill\n", job[0].pid);25 if (VerboseMode()) gprint (GP_LOG, "child process %d is hung, cannot kill\n", job[0].pid); 26 26 return (FALSE); 27 27 } 28 28 } 29 29 30 fprintf (stderr, "this function is not yet implemented\n");30 gprint (GP_ERR, "this function is not yet implemented\n"); 31 31 return (TRUE); 32 32 }
Note:
See TracChangeset
for help on using the changeset viewer.
