Changes in uspace/app/init/init.c [1c635d6:593e023] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/init/init.c
r1c635d6 r593e023 172 172 va_start(ap, path); 173 173 task_id_t id; 174 task_wait_t wait; 175 int rc = task_spawn(&id, &wait, path, cnt, ap); 174 int rc = task_spawn(&id, path, cnt, ap); 176 175 va_end(ap); 177 176 … … 190 189 task_exit_t texit; 191 190 int retval; 192 rc = task_wait( &wait, &texit, &retval);191 rc = task_wait(id, &texit, &retval); 193 192 if (rc != EOK) { 194 193 printf("%s: Error waiting for %s (%s)\n", NAME, path, … … 254 253 255 254 task_id_t id; 256 task_wait_t wait; 257 int rc = task_spawnl(&id, &wait, app, app, winreg, NULL); 255 int rc = task_spawnl(&id, app, app, winreg, NULL); 258 256 if (rc != EOK) { 259 257 printf("%s: Error spawning %s %s (%s)\n", NAME, app, … … 264 262 task_exit_t texit; 265 263 int retval; 266 rc = task_wait( &wait, &texit, &retval);264 rc = task_wait(id, &texit, &retval); 267 265 if ((rc != EOK) || (texit != TASK_EXIT_NORMAL)) { 268 266 printf("%s: Error retrieving retval from %s (%s)\n", NAME, … … 280 278 APP_GETTERM, svc, LOCFS_MOUNT_POINT, app); 281 279 282 int rc = task_spawnl(NULL, NULL,APP_GETTERM, APP_GETTERM, svc,280 int rc = task_spawnl(NULL, APP_GETTERM, APP_GETTERM, svc, 283 281 LOCFS_MOUNT_POINT, "--msg", "--wait", "--", app, NULL); 284 282 if (rc != EOK) … … 289 287 APP_GETTERM, svc, LOCFS_MOUNT_POINT, app); 290 288 291 int rc = task_spawnl(NULL, NULL,APP_GETTERM, APP_GETTERM, svc,289 int rc = task_spawnl(NULL, APP_GETTERM, APP_GETTERM, svc, 292 290 LOCFS_MOUNT_POINT, "--wait", "--", app, NULL); 293 291 if (rc != EOK)
Note:
See TracChangeset
for help on using the changeset viewer.