Changeset f4f866c in mainline for uspace/app/sbi/src/os/helenos.c


Ignore:
Timestamp:
2010-04-23T21:42:26Z (14 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6c39a907
Parents:
38aaacc2 (diff), 80badbe (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/sbi/src/os/helenos.c

    r38aaacc2 rf4f866c  
    3535#include <task.h>
    3636#include <tinput.h>
     37#include <str_error.h>
    3738
    3839#include "os.h"
     
    186187        int retval;
    187188
    188         tid = task_spawn(cmd[0], (char const * const *) cmd);
     189        tid = task_spawn(cmd[0], (char const * const *) cmd, &retval);
    189190        if (tid == 0) {
    190                 printf("Error: Failed spawning '%s'.\n", cmd[0]);
     191                printf("Error: Failed spawning '%s' (%s).\n", cmd[0],
     192                    str_error(retval));
    191193                exit(1);
    192194        }
Note: See TracChangeset for help on using the changeset viewer.