Changeset 04c7003f in mainline for uspace/srv/devman/main.c
- Timestamp:
- 2010-05-14T08:11:15Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- cf8cc36
- Parents:
- f619943a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/devman/main.c
rf619943a r04c7003f 90 90 driver = find_driver(&drivers_list, drv_name); 91 91 92 if (NULL == driver) { 93 printf(NAME ": no driver named %s was found.\n", drv_name); 94 free(drv_name); 95 drv_name = NULL; 96 ipc_answer_0(iid, ENOENT); 97 return NULL; 98 } 99 92 100 free(drv_name); 93 101 drv_name = NULL; 94 95 if (NULL == driver) {96 printf(NAME ": no driver named %s was found.\n", drv_name);97 ipc_answer_0(iid, ENOENT);98 return NULL;99 }100 102 101 103 // Create connection to the driver
Note:
See TracChangeset
for help on using the changeset viewer.