Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ceremcem committed Jun 25, 2019
1 parent 84f63d2 commit 1650a3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/usb.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ ssize_t send_recv(struct stlink_libusb* handle, int terminate,
3000);
if (t) {
printf("[!] send_recv send request failed: %s\n", libusb_error_name(t));
return -1;
exit(1);
} else if ((size_t)res != txsize) {
printf("[!] send_recv send request wrote %u bytes (instead of %u).\n",
(unsigned int)res, (unsigned int)txsize);
Expand Down

0 comments on commit 1650a3e

Please sign in to comment.