From b872a328e331086ce02eef590b149b65c450177a Mon Sep 17 00:00:00 2001 From: Kirill Elagin Date: Sat, 11 Apr 2015 23:30:20 +0300 Subject: [PATCH] Fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This was horrible as this made mfoc non-functional for cards with unknown SAK’s. --- src/mfoc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mfoc.c b/src/mfoc.c index 0b9b339..5bd3176 100644 --- a/src/mfoc.c +++ b/src/mfoc.c @@ -241,7 +241,7 @@ int main(int argc, char *const argv[]) t.num_sectors = NR_TRAILERS_4k; t.num_blocks = NR_BLOCKS_4k; break; - defaul: + default: ERR("Cannot determine card type from SAK"); goto error; }