diff --git a/jni/daemon/bootstages.c b/jni/daemon/bootstages.c index 035dc9670..4bd830500 100644 --- a/jni/daemon/bootstages.c +++ b/jni/daemon/bootstages.c @@ -418,7 +418,7 @@ static void simple_mount(const char *path) { free(new_path); } else if (entry->d_type == DT_REG) { // Actual file path - snprintf(buf, PATH_MAX, "%s/%s", buf, entry->d_name); + snprintf(buf, PATH_MAX, "%s%s", CACHEMOUNT, buf2); // Clone all attributes clone_attr(buf2, buf); // Finally, mount the file