From ed8a2d330e1ae479dd43d2689d8f745bea713339 Mon Sep 17 00:00:00 2001 From: Antiklesys Date: Fri, 19 Jul 2024 18:46:27 +0800 Subject: [PATCH] Update cmdhficlass.c --- client/src/cmdhficlass.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/src/cmdhficlass.c b/client/src/cmdhficlass.c index 86580b01f..4a50f15c7 100644 --- a/client/src/cmdhficlass.c +++ b/client/src/cmdhficlass.c @@ -4027,7 +4027,7 @@ static int CmdHFiClassLegRecLookUp(const char *Cmd) { thread_data[t].keyBlock = calloc(keys_per_thread, PICOPASS_BLOCK_SIZE); if (thread_data[t].keyBlock == NULL) { - PrintAndLogEx(ERROR, "Memory allocation failed for keyBlock in thread %d.", t); + PrintAndLogEx(ERR, "Memory allocation failed for keyBlock in thread %d.", t); for (uint32_t i = 0; i < t; i++) { free(thread_data[i].keyBlock); } @@ -4048,7 +4048,7 @@ static int CmdHFiClassLegRecLookUp(const char *Cmd) { } if (prekey == NULL) { - PrintAndLogEx(ERROR, "Memory allocation failed for prekey."); + PrintAndLogEx(ERR, "Memory allocation failed for prekey."); for (uint32_t t = 0; t < num_threads; t++) { free(thread_data[t].keyBlock); }