Changes in uspace/srv/devman/devman.c [0485135:791f58c] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/devman.c
r0485135 r791f58c 37 37 #include <ipc/devman.h> 38 38 #include <devmap.h> 39 #include <str_error.h>40 39 41 40 #include "devman.h" … … 447 446 bool start_driver(driver_t *drv) 448 447 { 449 int rc;450 451 448 printf(NAME ": start_driver '%s'\n", drv->name); 452 449 453 rc = task_spawnl(NULL, drv->binary_path, drv->binary_path, NULL); 454 if (rc != EOK) { 455 printf(NAME ": error spawning %s (%s)\n", 456 drv->name, str_error(rc)); 450 const char *argv[2]; 451 452 argv[0] = drv->name; 453 argv[1] = NULL; 454 455 int err; 456 if (task_spawn(drv->binary_path, argv, &err) == 0) { 457 printf(NAME ": error spawning %s, errno = %d\n", 458 drv->name, err); 457 459 return false; 458 460 }
Note:
See TracChangeset
for help on using the changeset viewer.