summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
Diffstat (limited to 'utils')
-rw-r--r--utils/librfid-tool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/librfid-tool.c b/utils/librfid-tool.c
index e151e45..5e55b50 100644
--- a/utils/librfid-tool.c
+++ b/utils/librfid-tool.c
@@ -405,7 +405,7 @@ int main(int argc, char **argv)
printf("key format error\n");
exit(1);
}
- rc = mfcl_auth(ph, RFID_CMD_MIFARE_AUTH1A, sector);
+ rc = mfcl_auth(ph, RFID_CMD_MIFARE_AUTH1A, sector*4);
if (rc < 0) {
printf("mifare auth error\n");
exit(1);
personal git repositories of Harald Welte. Your mileage may vary