Changeset d9fae235 in mainline for uspace/srv/net/netstart/netstart.c
- Timestamp:
- 2010-04-17T01:28:38Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9d6bfa5
- Parents:
- 9256ad29
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/net/netstart/netstart.c
r9256ad29 rd9fae235 44 44 #include <stdio.h> 45 45 #include <task.h> 46 #include <str_error.h> 46 47 #include <ipc/ipc.h> 47 48 #include <ipc/services.h> … … 71 72 argv[1] = NULL; 72 73 73 if (task_spawn(path, argv) == 0) { 74 fprintf(stderr, "%s: Error spawning %s\n", NAME, path); 74 int err; 75 if (task_spawn(path, argv, &err) == 0) { 76 fprintf(stderr, "%s: Error spawning %s (%s)\n", NAME, path, 77 str_error(err)); 75 78 return false; 76 79 }
Note:
See TracChangeset
for help on using the changeset viewer.