Changes in uspace/drv/usbhub/usbhub.c [9063484:4125b7d] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/usbhub/usbhub.c
r9063484 r4125b7d 264 264 port+1, USB_HUB_FEATURE_PORT_POWER); 265 265 if (opResult != EOK) { 266 usb_log_error("cannot power on port % d; %d\n",267 port+1, opResult);266 usb_log_error("cannot power on port %zu: %s.\n", 267 port+1, str_error(opResult)); 268 268 } 269 269 } … … 273 273 USB_HUB_FEATURE_C_HUB_LOCAL_POWER); 274 274 if (opResult != EOK) { 275 usb_log_error("cannot power hub ; %d\n",276 opResult);275 usb_log_error("cannot power hub: %s\n", 276 str_error(opResult)); 277 277 } 278 278 } … … 362 362 } 363 363 364 usb_log_info("Controlling hub `%s' (% dports).\n",364 usb_log_info("Controlling hub `%s' (%zu ports).\n", 365 365 hub_info->usb_device->ddf_dev->name, hub_info->port_count); 366 366 return EOK; … … 430 430 port, USB_HUB_FEATURE_PORT_POWER); 431 431 if (opResult != EOK) { 432 usb_log_error(" cannot power on port %d; %d\n",433 port, opResult);432 usb_log_error("Cannot power on port %zu: %s.\n", 433 port, str_error(opResult)); 434 434 } 435 435 }
Note:
See TracChangeset
for help on using the changeset viewer.