Move all AOSP code out of recovery binary
Improves license compatibility between GPL and Apache
Change-Id: I2b165aa575bb6213af6b07936f99610c113443f0
diff --git a/tarWrite.c b/tarWrite.c
index 0f9a4a4..f5af449 100644
--- a/tarWrite.c
+++ b/tarWrite.c
@@ -23,7 +23,7 @@
#include <fcntl.h>
#include "libtar/libtar.h"
-#include "common.h"
+#include "twcommon.h"
int flush = 0, eot_count = -1;
unsigned char *write_buffer;
@@ -73,7 +73,7 @@
return 0;
}
if (write(fd, write_buffer, buffer_loc) != buffer_loc) {
- LOGE("Error writing tar file!\n");
+ LOGERR("Error writing tar file!\n");
buffer_loc = 0;
return -1;
} else {