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 @@ #include #include #include +#include #include "bootimg.h" @@ -69,6 +70,7 @@ int upload_app(usb_dev_handle* dh) if (err < 0) { fprintf(stderr,"[ERR] Error writing data length\n"); + fprintf(stderr,"[ERR] Bulk write error (%d, %s)\n", err, strerror(-err)); return -1; } @@ -83,6 +85,7 @@ int upload_app(usb_dev_handle* dh) if (err < 0) { fprintf(stderr,"[ERR] Error writing data\n"); + fprintf(stderr,"[ERR] Bulk write error (%d, %s)\n", err, strerror(-err)); return -1; }