summaryrefslogtreecommitdiffstats
path: root/tarWrite.c
diff options
context:
space:
mode:
authorDees_Troy <dees_troy@teamw.in>2013-04-02 22:22:16 +0200
committerDees_Troy <dees_troy@teamw.in>2013-04-04 20:57:34 +0200
commit2673cec07a4740f86438b50cfe1b70b258a9a8c8 (patch)
tree3133d98e33eba4fab9760f9a4a54aeac83107119 /tarWrite.c
parentAdd partition list GUI element (diff)
downloadandroid_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.tar
android_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.tar.gz
android_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.tar.bz2
android_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.tar.lz
android_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.tar.xz
android_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.tar.zst
android_bootable_recovery-2673cec07a4740f86438b50cfe1b70b258a9a8c8.zip
Diffstat (limited to '')
-rw-r--r--tarWrite.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tarWrite.c b/tarWrite.c
index 0f9a4a4b1..f5af4491b 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 @@ ssize_t write_libtar_buffer(int fd, const void *buffer, size_t size) {
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 {