Changes in uspace/lib/usbhid/src/hidreport.c [b7fd2a0:5a6cc679] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/usbhid/src/hidreport.c
rb7fd2a0 r5a6cc679 84 84 85 85 if (d == NULL) { 86 usb_log_error("The %d. interface descriptor not found! \n",86 usb_log_error("The %d. interface descriptor not found!", 87 87 usb_device_get_iface_number(dev)); 88 88 return ENOENT; … … 104 104 105 105 if (d == NULL) { 106 usb_log_fatal("No HID descriptor found! \n");106 usb_log_fatal("No HID descriptor found!"); 107 107 return ENOENT; 108 108 } … … 130 130 } 131 131 132 usb_log_debug("Getting Report descriptor, expected size: %u \n", length);132 usb_log_debug("Getting Report descriptor, expected size: %u", length); 133 133 134 134 /* … … 156 156 *size = length; 157 157 158 usb_log_debug("Done. \n");158 usb_log_debug("Done."); 159 159 160 160 return EOK; … … 178 178 179 179 if (rc != EOK) { 180 usb_log_error("Problem with getting Report descriptor: %s. \n",180 usb_log_error("Problem with getting Report descriptor: %s.", 181 181 str_error(rc)); 182 182 if (*report_desc != NULL) { … … 191 191 rc = usb_hid_parse_report_descriptor(report, *report_desc, *report_size); 192 192 if (rc != EOK) { 193 usb_log_error("Problem parsing Report descriptor: %s. \n",193 usb_log_error("Problem parsing Report descriptor: %s.", 194 194 str_error(rc)); 195 195 free(*report_desc);
Note:
See TracChangeset
for help on using the changeset viewer.