From 67f1385a353b0a89ceb3cb11a31161e0bee6680e Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Sat, 14 Aug 2010 16:26:20 +0800 Subject: Fix the block/sector naming mistake in structure names --- easytool/easytool.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'easytool/easytool.c') diff --git a/easytool/easytool.c b/easytool/easytool.c index fa15c6b..35735fa 100644 --- a/easytool/easytool.c +++ b/easytool/easytool.c @@ -111,10 +111,10 @@ static void dump_easycard(mifare_tag *mft) mifare_block_manufacturer *manuf = &mft->amb[0].mbm; struct mfcl_value_block *val = (struct mfcl_value_block *) mft->amb[8].mbd.abtData; - struct easy_block2sec0 *b2s0 = - (struct easy_block2sec0 *) mft->amb[1*4+0].mbd.abtData; - struct easy_block15sec2 *b15s2 = - (struct easy_block15sec2 *) mft->amb[15*4+2].mbd.abtData; + struct easy_sect2blk0 *b2s0 = + (struct easy_sect2blk0 *) mft->amb[1*4+0].mbd.abtData; + struct easy_sect15blk2 *b15s2 = + (struct easy_sect15blk2 *) mft->amb[15*4+2].mbd.abtData; uint32_t uid = *((uint32_t *) manuf->abtUID); /* dump the header */ -- cgit v1.2.3