Bläddra i källkod

fix(action): correct indentation in sed commands for task_mmu.c modifications

TheWildJames 4 månader sedan
förälder
incheckning
b52f0a80e3
1 ändrade filer med 2 tillägg och 2 borttagningar
  1. 2 2
      .github/actions/susfs/action.yml

+ 2 - 2
.github/actions/susfs/action.yml

@@ -162,8 +162,8 @@ runs:
         #fi
         if [ "${{ inputs.sublevel }}" -le "58" ]; then
           echo "Applying task_mmu.c Android 15 6.6 Fake Patch"
-          sed -i "/int ret.*= 0, copied.*= 0;/a unsigned int nr_subpages = __PAGE_SIZE \/ PAGE_SIZE;" fs/proc/task_mmu.c
-          sed -i "/unsigned int nr_subpages = __PAGE_SIZE \/ PAGE_SIZE;/a pagemap_entry_t *res = NULL;" fs/proc/task_mmu.c
+          sed -i "/int ret.*= 0, copied.*= 0;/a \\		unsigned int nr_subpages = __PAGE_SIZE / PAGE_SIZE;" fs/proc/task_mmu.c
+          sed -i "/unsigned int nr_subpages = __PAGE_SIZE \\/ PAGE_SIZE;/a \\		pagemap_entry_t *res = NULL;" fs/proc/task_mmu.c
         fi
         cat fs/proc/task_mmu.c
         if [ "${{ inputs.sublevel }}" -le "92" ]; then