Get random separately

This commit is contained in:
topjohnwu
2023-04-03 18:20:12 -07:00
committed by John Wu
parent 46ce765860
commit 2087e47300
3 changed files with 10 additions and 3 deletions

View File

@@ -209,7 +209,7 @@ void MagiskInit::parse_config_file() {
}
return true;
});
gen_rand_str(nullptr, 0, &seed);
get_rand(&seed);
}
#define ROOTMIR MIRRDIR "/system_root"