From 3d91806b5bea7d755e28311a0df71a675e78a957 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Wed, 1 Nov 2023 23:40:33 +0100 Subject: [PATCH] use correct define --- client/src/cmdhfmf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/src/cmdhfmf.c b/client/src/cmdhfmf.c index 8a9f5926e..83e9916be 100644 --- a/client/src/cmdhfmf.c +++ b/client/src/cmdhfmf.c @@ -7353,7 +7353,7 @@ static int CmdHF14AMfView(const char *Cmd) { // read dump file uint8_t *dump = NULL; size_t bytes_read = 0; - int res = pm3_load_dump(filename, (void **)&dump, &bytes_read, (MFBLOCK_SIZE * MIFARE_4K_MAXBLOCK)); + int res = pm3_load_dump(filename, (void **)&dump, &bytes_read, MIFARE_4K_MAX_BYTES); if (res != PM3_SUCCESS) { return res; }