diff --git a/client/cmdhfmf.c b/client/cmdhfmf.c index 1519c2019..901ccd492 100644 --- a/client/cmdhfmf.c +++ b/client/cmdhfmf.c @@ -1607,7 +1607,7 @@ int CmdHF14AMfEKeyPrn(const char *Cmd) char cmdp = param_getchar(Cmd, 0); - switch (ctmp) { + switch (cmdp) { case '0' : numSectors = 5; break; case '1' : case '\0': numSectors = 16; break;