Rev 4617 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4617 | Rev 4620 | ||
---|---|---|---|
Line 71... | Line 71... | ||
71 | return id; |
71 | return id; |
72 | } |
72 | } |
73 | 73 | ||
74 | int main(int argc, char *argv[]) |
74 | int main(int argc, char *argv[]) |
75 | { |
75 | { |
- | 76 | task_exit_t texit; |
|
76 | int retval; |
77 | int retval; |
77 | 78 | ||
78 | if (argc < 3) { |
79 | if (argc < 3) { |
79 | usage(); |
80 | usage(); |
80 | return -1; |
81 | return -1; |
Line 97... | Line 98... | ||
97 | || (stderr == NULL)) |
98 | || (stderr == NULL)) |
98 | return -2; |
99 | return -2; |
99 | 100 | ||
100 | version_print(argv[1]); |
101 | version_print(argv[1]); |
101 | task_id_t id = spawn(argv[2]); |
102 | task_id_t id = spawn(argv[2]); |
102 | task_wait(id, &retval); |
103 | task_wait(id, &texit, &retval); |
103 | 104 | ||
104 | return 0; |
105 | return 0; |
105 | } |
106 | } |
106 | 107 | ||
107 | /** @} |
108 | /** @} |