Changes in uspace/app/init/init.c [1c635d6:593e023] in mainline


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/init/init.c

    r1c635d6 r593e023  
    172172        va_start(ap, path);
    173173        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);
    176175        va_end(ap);
    177176       
     
    190189        task_exit_t texit;
    191190        int retval;
    192         rc = task_wait(&wait, &texit, &retval);
     191        rc = task_wait(id, &texit, &retval);
    193192        if (rc != EOK) {
    194193                printf("%s: Error waiting for %s (%s)\n", NAME, path,
     
    254253       
    255254        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);
    258256        if (rc != EOK) {
    259257                printf("%s: Error spawning %s %s (%s)\n", NAME, app,
     
    264262        task_exit_t texit;
    265263        int retval;
    266         rc = task_wait(&wait, &texit, &retval);
     264        rc = task_wait(id, &texit, &retval);
    267265        if ((rc != EOK) || (texit != TASK_EXIT_NORMAL)) {
    268266                printf("%s: Error retrieving retval from %s (%s)\n", NAME,
     
    280278                    APP_GETTERM, svc, LOCFS_MOUNT_POINT, app);
    281279               
    282                 int rc = task_spawnl(NULL, NULL, APP_GETTERM, APP_GETTERM, svc,
     280                int rc = task_spawnl(NULL, APP_GETTERM, APP_GETTERM, svc,
    283281                    LOCFS_MOUNT_POINT, "--msg", "--wait", "--", app, NULL);
    284282                if (rc != EOK)
     
    289287                    APP_GETTERM, svc, LOCFS_MOUNT_POINT, app);
    290288               
    291                 int rc = task_spawnl(NULL, NULL, APP_GETTERM, APP_GETTERM, svc,
     289                int rc = task_spawnl(NULL, APP_GETTERM, APP_GETTERM, svc,
    292290                    LOCFS_MOUNT_POINT, "--wait", "--", app, NULL);
    293291                if (rc != EOK)
Note: See TracChangeset for help on using the changeset viewer.