Skip to content

Commit

Permalink
Apply this for any rootdef, actually
Browse files Browse the repository at this point in the history
  • Loading branch information
Siguza committed Jun 18, 2023
1 parent 8545f97 commit f1102da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkra1n/kpf/ramdisk.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static void kpf_ramdisk_init(struct mach_header_64 *hdr, xnu_pf_range_t *cstring
#ifdef DEV_BUILD
have_ramdisk = true;
#else
have_ramdisk = rootdev_bootarg && rootdev_bootarg[8] == 'm' && rootdev_bootarg[9] == 'd';
have_ramdisk = rootdev_bootarg != NULL;
#endif
}

Expand Down

0 comments on commit f1102da

Please sign in to comment.