Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
Fix typos (#310)
Browse files Browse the repository at this point in the history
  • Loading branch information
canyie authored Dec 24, 2023
1 parent ec0fbd6 commit 2d513af
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions riru/src/main/cpp/jni_hooks.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -618,13 +618,13 @@ jint nativeForkAndSpecialize_u(
jboolean mountSyspropOverrides) {

nativeForkAndSpecialize_pre(env, clazz, uid, gid, gids, runtime_flags, rlimits, mount_external,
se_info, se_name, fdsToClose, fdsToIgnore, is_child_zygote,
se_info, nice_name, fdsToClose, fdsToIgnore, is_child_zygote,
instructionSet, appDataDir, isTopApp, pkgDataInfoList,
whitelistedDataInfoList,
bindMountAppDataDirs, bindMountAppStorageDirs);

jint res = ((nativeForkAndSpecialize_u_t *) jni::zygote::nativeForkAndSpecialize->fnPtr)(
env, clazz, uid, gid, gids, runtime_flags, rlimits, mount_external, se_info, se_name,
env, clazz, uid, gid, gids, runtime_flags, rlimits, mount_external, se_info, nice_name,
fdsToClose, fdsToIgnore, is_child_zygote, instructionSet, appDataDir, isTopApp,
pkgDataInfoList, whitelistedDataInfoList, bindMountAppDataDirs,
bindMountAppStorageDirs, mountSyspropOverrides);
Expand Down Expand Up @@ -869,7 +869,7 @@ void nativeSpecializeAppProcess_u(
jboolean startChildZygote, jstring instructionSet, jstring appDataDir,
jboolean isTopApp, jobjectArray pkgDataInfoList,
jobjectArray whitelistedDataInfoList, jboolean bindMountAppDataDirs,
jboolean bindMountAppDataDirs, jboolean mountSyspropOverrides) {
jboolean bindMountAppStorageDirs, jboolean mountSyspropOverrides) {
nativeSpecializeAppProcess_pre(
env, clazz, uid, gid, gids, runtimeFlags, rlimits, mountExternal, seInfo, niceName,
startChildZygote, instructionSet, appDataDir, isTopApp, pkgDataInfoList,
Expand Down

0 comments on commit 2d513af

Please sign in to comment.