replace deprecated bzero function by memset.
This commit is contained in:
parent
0e2bc992bf
commit
5133491c2c
7 changed files with 16 additions and 16 deletions
|
|
@ -675,7 +675,7 @@ mifare_classic_format_sector (MifareTag tag, const MifareClassicSectorNumber sec
|
|||
}
|
||||
|
||||
MifareClassicBlock empty_data_block;
|
||||
bzero (empty_data_block, sizeof (empty_data_block));
|
||||
memset (empty_data_block, 0, sizeof (empty_data_block));
|
||||
|
||||
MifareClassicBlock default_trailer_block = {
|
||||
0xff, 0xff, 0xff, 0xff, 0xff, 0xff, /* Key A */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue