Skip to content

Commit

Permalink
kpf: fix format strings
Browse files Browse the repository at this point in the history
  • Loading branch information
asdfugil committed Nov 11, 2023
1 parent 155e3f0 commit c34ad3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checkra1n/kpf/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1709,7 +1709,7 @@ bool IOSecureBSDRoot_callback(struct xnu_pf_patch *patch, uint32_t *opcode_strea
return false;
}
puts("KPF: Found mdevremoveall");
DEVLOG("Found mdevremoveall 0x%llx", xnu_rebase_va(xnu_ptr_to_va(opcode_stream)) + 4*4);
DEVLOG("Found mdevremoveall 0x%" PRIx64, xnu_rebase_va(xnu_ptr_to_va(opcode_stream)) + 4*4);

uint32_t insn = opcode_stream[4];
int32_t off = sxt32(insn >> 5, 19);
Expand Down

0 comments on commit c34ad3a

Please sign in to comment.