Changes in uspace/lib/drv/generic/driver.c [fc51296:2a770a35] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/drv/generic/driver.c
rfc51296 r2a770a35 273 273 274 274 res = driver->driver_ops->add_device(dev); 275 if (res != EOK) 275 if (res == EOK) { 276 printf("%s: new device with handle=%" PRIun " was added.\n", 277 driver->name, dev_handle); 278 } else { 279 printf("%s: failed to add a new device with handle = %" PRIun ".\n", 280 driver->name, dev_handle); 276 281 delete_device(dev); 282 } 277 283 278 284 async_answer_0(iid, res);
Note:
See TracChangeset
for help on using the changeset viewer.