From b505819ca20af3fa84edca474b4ddffec1e545c3 Mon Sep 17 00:00:00 2001 From: LoveSy Date: Tue, 4 Apr 2023 22:28:49 +0800 Subject: [PATCH] Fix a typo --- native/src/core/module.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/native/src/core/module.cpp b/native/src/core/module.cpp index 19341de1e..493f306bb 100644 --- a/native/src/core/module.cpp +++ b/native/src/core/module.cpp @@ -149,7 +149,7 @@ void module_node::mount() { string src = module_mnt + module + parent()->root()->prefix + node_path(); if (node_path() == "/system/etc/hosts") { // special case for /system/etc/hosts to ensure it is writable - src = std::string(MODULEROOT) + module + parent()->root()->prefix + "/system/etc/hosts"; + src = std::string(MODULEROOT "/") + module + parent()->root()->prefix + "/system/etc/hosts"; } if (exist()) clone_attr(mirror_path().data(), src.data());