libtar: use libtar tag in logging
Change-Id: I292366a237f9c8464f791d4d3cddaffc0d854577
Signed-off-by: Mohd Faraz <androiabledroid@gmail.com>
(cherry picked from commit 566ef6bcaab4b038956ccff73876876aedda65eb)
diff --git a/libtar/util.c b/libtar/util.c
index 7fb3f51..c904888 100644
--- a/libtar/util.c
+++ b/libtar/util.c
@@ -213,9 +213,9 @@
}
void print_caps(struct vfs_cap_data *cap_data) {
- printf(" magic_etc=%u \n", cap_data->magic_etc);
- printf(" data[0].permitted=%u \n", cap_data->data[0].permitted);
- printf(" data[0].inheritable=%u \n", cap_data->data[0].inheritable);
- printf(" data[1].permitted=%u \n", cap_data->data[1].permitted);
- printf(" data[1].inheritable=%u \n", cap_data->data[1].inheritable);
+ LOG(" magic_etc=%u \n", cap_data->magic_etc);
+ LOG(" data[0].permitted=%u \n", cap_data->data[0].permitted);
+ LOG(" data[0].inheritable=%u \n", cap_data->data[0].inheritable);
+ LOG(" data[1].permitted=%u \n", cap_data->data[1].permitted);
+ LOG(" data[1].inheritable=%u \n", cap_data->data[1].inheritable);
}