summaryrefslogtreecommitdiffstats
path: root/tarWrite.c
diff options
context:
space:
mode:
Diffstat (limited to 'tarWrite.c')
-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 {