whoops
This commit is contained in:
parent
cd4e4c156c
commit
a234e43a6a
@ -165,7 +165,7 @@ int main(int argc, char **argv) {
|
|||||||
b_init(&kernel);
|
b_init(&kernel);
|
||||||
b_init(&sandbox);
|
b_init(&sandbox);
|
||||||
b_load_macho(&kernel, argv[1]);
|
b_load_macho(&kernel, argv[1]);
|
||||||
b_prange_load_macho(&sandbox, kernel.actual_cpusubtype == 9 ? (prange_t) {sandbox_armv7_o, sandbox_armv7_o_len} : (prange_t) {sandbox_armv6_o, sandbox_armv6_o_len}, 0, "sandbox.o");
|
b_prange_load_macho(&sandbox, kernel.cpusubtype == 9 ? (prange_t) {sandbox_armv7_o, sandbox_armv7_o_len} : (prange_t) {sandbox_armv6_o, sandbox_armv6_o_len}, 0, "sandbox.o");
|
||||||
|
|
||||||
patchfd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
patchfd = open(argv[2], O_WRONLY | O_CREAT | O_TRUNC, 0644);
|
||||||
if(patchfd == -1) {
|
if(patchfd == -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user