Changeset 7917 for trunk/Ohana/src/opihi/pantasks/task.c
- Timestamp:
- Jul 16, 2006, 10:58:49 PM (20 years ago)
- File:
-
- 1 edited
-
trunk/Ohana/src/opihi/pantasks/task.c (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Ohana/src/opihi/pantasks/task.c
r6687 r7917 28 28 29 29 if (argc != 2) { 30 fprintf (stderr, "USAGE: task <name>\n");31 fprintf (stderr, " (enter commands & task functions; end with the word 'END')\n");30 gprint (GP_ERR, "USAGE: task <name>\n"); 31 gprint (GP_ERR, " (enter commands & task functions; end with the word 'END')\n"); 32 32 return (FALSE); 33 33 } … … 58 58 59 59 if ((ThisList == 0) && (input == (char *) NULL)) { 60 fprintf (stderr, "end task with 'END'\n");60 gprint (GP_ERR, "end task with 'END'\n"); 61 61 continue; 62 62 } 63 63 if ((ThisList > 0) && (input == (char *) NULL)) { 64 fprintf (stderr, "missing 'END' in task definition\n");64 gprint (GP_ERR, "missing 'END' in task definition\n"); 65 65 input = strcreate ("end"); 66 66 } … … 103 103 104 104 case TASK_NONE: 105 fprintf (stderr, "unknown task command %s\n", input);105 gprint (GP_ERR, "unknown task command %s\n", input); 106 106 break; 107 107 }
Note:
See TracChangeset
for help on using the changeset viewer.
