Changeset a1732929 in mainline for uspace/drv/bus/usb/usbdiag/main.c
- Timestamp:
- 2018-01-15T17:04:34Z (6 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9ff99e8
- Parents:
- c1a966e
- git-author:
- Ondřej Hlavatý <aearsis@…> (2018-01-15 17:04:32)
- git-committer:
- Ondřej Hlavatý <aearsis@…> (2018-01-15 17:04:34)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/drv/bus/usb/usbdiag/main.c
rc1a966e ra1732929 52 52 usbdiag_dev_t *diag_dev; 53 53 if ((rc = usbdiag_dev_create(dev, &diag_dev))) { 54 usb_log_error("Failed create device: %s. \n", str_error(rc));54 usb_log_error("Failed create device: %s.", str_error(rc)); 55 55 goto err; 56 56 } 57 57 58 58 if ((rc = ddf_fun_bind(diag_dev->fun))) { 59 usb_log_error("Failed to bind DDF function: %s. \n", str_error(rc));59 usb_log_error("Failed to bind DDF function: %s.", str_error(rc)); 60 60 goto err_create; 61 61 } … … 96 96 97 97 if ((rc = ddf_fun_unbind(diag_dev->fun))) { 98 usb_log_error("Failed to unbind DDF function: %s \n", str_error(rc));98 usb_log_error("Failed to unbind DDF function: %s", str_error(rc)); 99 99 goto err; 100 100 } … … 117 117 118 118 if ((rc = ddf_fun_unbind(diag_dev->fun))) { 119 usb_log_error("Failed to unbind DDF function: %s \n", str_error(rc));119 usb_log_error("Failed to unbind DDF function: %s", str_error(rc)); 120 120 goto err; 121 121 }
Note:
See TracChangeset
for help on using the changeset viewer.