From 645696559a8ff298ee0b0bc4c3327c0874588525 Mon Sep 17 00:00:00 2001 From: lvs1974 Date: Tue, 8 Feb 2022 14:26:35 +0100 Subject: [PATCH] Minor cosmetic fix --- DebugEnhancer/kern_dbgenhancer.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/DebugEnhancer/kern_dbgenhancer.cpp b/DebugEnhancer/kern_dbgenhancer.cpp index ed59aab..1746d6e 100644 --- a/DebugEnhancer/kern_dbgenhancer.cpp +++ b/DebugEnhancer/kern_dbgenhancer.cpp @@ -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;