diff options
-rw-r--r-- | rbutil/e200rpatcher/e200rpatcher.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rbutil/e200rpatcher/e200rpatcher.c b/rbutil/e200rpatcher/e200rpatcher.c index 55188f422e..23828ac53b 100644 --- a/rbutil/e200rpatcher/e200rpatcher.c +++ b/rbutil/e200rpatcher/e200rpatcher.c | |||
@@ -27,6 +27,7 @@ | |||
27 | #include <stdio.h> | 27 | #include <stdio.h> |
28 | #include <inttypes.h> | 28 | #include <inttypes.h> |
29 | #include <usb.h> | 29 | #include <usb.h> |
30 | #include <string.h> | ||
30 | 31 | ||
31 | #include "bootimg.h" | 32 | #include "bootimg.h" |
32 | 33 | ||
@@ -69,6 +70,7 @@ int upload_app(usb_dev_handle* dh) | |||
69 | if (err < 0) | 70 | if (err < 0) |
70 | { | 71 | { |
71 | fprintf(stderr,"[ERR] Error writing data length\n"); | 72 | fprintf(stderr,"[ERR] Error writing data length\n"); |
73 | fprintf(stderr,"[ERR] Bulk write error (%d, %s)\n", err, strerror(-err)); | ||
72 | return -1; | 74 | return -1; |
73 | } | 75 | } |
74 | 76 | ||
@@ -83,6 +85,7 @@ int upload_app(usb_dev_handle* dh) | |||
83 | if (err < 0) | 85 | if (err < 0) |
84 | { | 86 | { |
85 | fprintf(stderr,"[ERR] Error writing data\n"); | 87 | fprintf(stderr,"[ERR] Error writing data\n"); |
88 | fprintf(stderr,"[ERR] Bulk write error (%d, %s)\n", err, strerror(-err)); | ||
86 | return -1; | 89 | return -1; |
87 | } | 90 | } |
88 | 91 | ||