X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/ddb748a973bdcb84c6a0ab21e5fcd2b964e5c2e5..8b15860ed17bc9008e59bd9e9d581d30ded6bd93:/client/cmdhficlass.c diff --git a/client/cmdhficlass.c b/client/cmdhficlass.c index 5f45ab1a..22d443f8 100644 --- a/client/cmdhficlass.c +++ b/client/cmdhficlass.c @@ -1612,7 +1612,7 @@ int CmdHFiClassManageKeys(const char *Cmd) { case 'n': case 'N': keyNbr = param_get8(Cmd, cmdp+1); - if (keyNbr < 0) { + if (keyNbr == 0) { PrintAndLog("Wrong block number"); errors = true; }