Changeset 4abc304 in mainline for uspace/drv/uhci-hcd/root_hub.c
- Timestamp:
- 2011-02-28T11:55:36Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dced52a
- Parents:
- 299d53e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/uhci-hcd/root_hub.c
r299d53e r4abc304 34 34 #include <assert.h> 35 35 #include <errno.h> 36 #include <str_error.h> 36 37 #include <stdio.h> 37 38 #include <ops/hw_res.h> … … 118 119 { 119 120 assert(fun); 121 assert(hc); 120 122 int ret; 121 123 … … 136 138 ret = ddf_fun_add_match_id(hub, match_str, 100); 137 139 if (ret != EOK) { 138 usb_log_error("Failed to add root hub match id.\n"); 140 usb_log_error("Failed(%d) to add root hub match id: %s\n", 141 ret, str_error(ret)); 139 142 ddf_fun_destroy(hub); 140 return ENOMEM;143 return ret; 141 144 } 142 145
Note:
See TracChangeset
for help on using the changeset viewer.