Changeset 7917 for trunk/Ohana/src/opihi/pcontrol/CheckHost.c
- Timestamp:
- Jul 16, 2006, 10:58:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pcontrol/CheckHost.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pcontrol/CheckHost.c
r4772 r7917 12 12 switch (status) { 13 13 case 0: 14 if (VerboseMode()) fprintf (stderr, "host %s is down\n", host[0].hostname);14 if (VerboseMode()) gprint (GP_ERR, "host %s is down\n", host[0].hostname); 15 15 /* if host has a job, job is dead, return to Pending */ 16 16 job = (Job *) host[0].job; … … 25 25 26 26 case -1: 27 if (VerboseMode()) fprintf (stderr, "host %s is not responding\n", host[0].hostname);27 if (VerboseMode()) gprint (GP_ERR, "host %s is not responding\n", host[0].hostname); 28 28 /*** do we mark this in some way (HUNG) ? ***/ 29 29 PutHost (host, host[0].stack, STACK_BOTTOM); … … 36 36 return (TRUE); 37 37 } 38 fprintf (stderr, "programming error: should not reach here (Check Host)\n");38 gprint (GP_ERR, "programming error: should not reach here (Check Host)\n"); 39 39 return (FALSE); 40 40 }
Note:
See TracChangeset
for help on using the changeset viewer.
