Skip to content

Commit

Permalink
Minor cosmetic fix
Browse files Browse the repository at this point in the history
  • Loading branch information
lvs1974 committed Feb 8, 2022
1 parent 962a595 commit 6456965
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions DebugEnhancer/kern_dbgenhancer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -168,8 +168,7 @@ void DBGENH::processKernel(KernelPatcher &patcher)

bsd_log_lock_safe();

if (msgbufp->msg_magic != MSG_MAGIC)
PANIC("DBGENH", "msgbufp->msg_magic has a wrong magic value: 0x%x", msgbufp->msg_magic);
PANIC_COND(msgbufp->msg_magic != MSG_MAGIC, "DBGENH", "msgbufp->msg_magic has a wrong magic value");

char *old_logdata = msgbufp->msg_bufc;
int old_logsize = msgbufp->msg_size;
Expand Down

0 comments on commit 6456965

Please sign in to comment.