Changeset 20047 for trunk/Ohana/src/opihi/pclient/reset.c
- Timestamp:
- Oct 10, 2008, 12:51:04 PM (18 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pclient/reset.c (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pclient/reset.c
r7917 r20047 8 8 if (argc != 1) { 9 9 gprint (GP_ERR, "USAGE: reset\n"); 10 gprint (GP_LOG, " STATUS-1\n");10 gprint (GP_LOG, "RESET_RESULT: -1\n"); 11 11 return (FALSE); 12 12 } … … 14 14 if (ChildStatus == PCLIENT_NONE) { 15 15 gprint (GP_ERR, "no child process, cannot reset\n"); 16 gprint (GP_LOG, " STATUS2\n");16 gprint (GP_LOG, "RESET_RESULT: 2\n"); 17 17 return (TRUE); 18 18 } … … 43 43 /* total failure, don't reset */ 44 44 gprint (GP_ERR, "child process %d is hung, cannot reset\n", ChildPID); 45 gprint (GP_LOG, " STATUS0\n");45 gprint (GP_LOG, "RESET_RESULT: 0\n"); 46 46 return (FALSE); 47 47 } … … 62 62 ChildExitStatus = 0; 63 63 64 gprint (GP_LOG, " STATUS1\n");64 gprint (GP_LOG, "RESET_RESULT: 1\n"); 65 65 return (TRUE); 66 66 }
Note:
See TracChangeset
for help on using the changeset viewer.
