Changes in uspace/app/getterm/getterm.c [d9fae235:a000878c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/getterm/getterm.c
rd9fae235 ra000878c 40 40 #include <stdio.h> 41 41 #include <task.h> 42 #include <str_error.h>43 42 #include "version.h" 44 45 #define APP_NAME "getterm"46 43 47 44 static void usage(void) 48 45 { 49 printf("Usage: %s <terminal> <path>\n", APP_NAME);46 printf("Usage: getterm <terminal> <path>\n"); 50 47 } 51 48 … … 79 76 args[1] = NULL; 80 77 81 int err; 82 task_id_t id = task_spawn(fname, args, &err); 78 task_id_t id = task_spawn(fname, args); 83 79 84 80 if (id == 0) 85 printf("%s: Error spawning %s (%s)\n", APP_NAME, fname, 86 str_error(err)); 81 printf("Error spawning %s\n", fname); 87 82 88 83 return id;
Note:
See TracChangeset
for help on using the changeset viewer.