Skip to content

Commit 6456965

Browse files
committed
Minor cosmetic fix
1 parent 962a595 commit 6456965

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

DebugEnhancer/kern_dbgenhancer.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ void DBGENH::processKernel(KernelPatcher &patcher)
168168

169169
bsd_log_lock_safe();
170170

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

174173
char *old_logdata = msgbufp->msg_bufc;
175174
int old_logsize = msgbufp->msg_size;

0 commit comments

Comments
 (0)