summaryrefslogtreecommitdiffstats
path: root/libtar/append.c
diff options
context:
space:
mode:
authorVojtech Bocek <vbocek@gmail.com>2015-03-20 15:34:45 +0100
committerVojtech Bocek <vbocek@gmail.com>2015-03-20 15:34:45 +0100
commit78ab0c5807c17e343cc4fa9af86ea2d787e0e047 (patch)
tree946fa3012624fa64ff64b3ca67019a7163fccdda /libtar/append.c
parentupdater: only include tune2fs support when libtune2fs is available (diff)
downloadandroid_bootable_recovery-78ab0c5807c17e343cc4fa9af86ea2d787e0e047.tar
android_bootable_recovery-78ab0c5807c17e343cc4fa9af86ea2d787e0e047.tar.gz
android_bootable_recovery-78ab0c5807c17e343cc4fa9af86ea2d787e0e047.tar.bz2
android_bootable_recovery-78ab0c5807c17e343cc4fa9af86ea2d787e0e047.tar.lz
android_bootable_recovery-78ab0c5807c17e343cc4fa9af86ea2d787e0e047.tar.xz
android_bootable_recovery-78ab0c5807c17e343cc4fa9af86ea2d787e0e047.tar.zst
android_bootable_recovery-78ab0c5807c17e343cc4fa9af86ea2d787e0e047.zip
Diffstat (limited to '')
-rw-r--r--libtar/append.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtar/append.c b/libtar/append.c
index 514cf54bb..1831990be 100644
--- a/libtar/append.c
+++ b/libtar/append.c
@@ -233,8 +233,8 @@ tar_append_regfile(TAR *t, char *realname)
{
char block[T_BLOCKSIZE];
int filefd;
- int i, j;
- size_t size;
+ int j;
+ size_t size, i;
filefd = open(realname, O_RDONLY);
if (filefd == -1)