libtar - Fix extraction of hardlinks to use the prefix
Change-Id: I116982ceed722364406b99fb08bc6943afa0390a
diff --git a/twrpTar.cpp b/twrpTar.cpp
index 0bf76e5..159c1d1 100644
--- a/twrpTar.cpp
+++ b/twrpTar.cpp
@@ -122,7 +122,7 @@
int status;
pid_t pid;
if ((pid = fork()) == -1) {
- LOGI("create tar failed to fork.\n");
+ LOGI("extract tar failed to fork.\n");
return -1;
}
if (pid == 0) {
@@ -144,7 +144,7 @@
else if (WIFEXITED(status) != 0)
LOGI("Tar extraction successful\n");
else {
- LOGI("Tar creation failed\n");
+ LOGI("Tar extraction failed\n");
return -1;
}
}