Changes in uspace/app/usbinfo/list.c [58563585:1d6dd2a] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/usbinfo/list.c
r58563585 r1d6dd2a 45 45 #include <loc.h> 46 46 #include <usb_iface.h> 47 #include <str.h> 47 48 48 49 #include "usbinfo.h" … … 53 54 { 54 55 char path[MAX_PATH_LENGTH]; 55 int rc = devman_fun_get_path(handle, path, MAX_PATH_LENGTH);56 errno_t rc = devman_fun_get_path(handle, path, MAX_PATH_LENGTH); 56 57 if (rc != EOK) { 57 58 printf(NAME "Failed to get path for device %"PRIun"\n", handle); … … 64 65 { 65 66 devman_handle_t hc_handle = 0; 66 int rc = devman_fun_sid_to_handle(svc, &hc_handle);67 errno_t rc = devman_fun_sid_to_handle(svc, &hc_handle); 67 68 if (rc != EOK) { 68 69 printf(NAME ": Error resolving handle of HC with SID %" … … 133 134 service_id_t *svcs; 134 135 size_t count; 135 int rc;136 errno_t rc; 136 137 137 138 rc = loc_category_get_id(USB_HC_CATEGORY, &usbhc_cat, 0);
Note:
See TracChangeset
for help on using the changeset viewer.