log: print file-id in 'create-file'

This commit is contained in:
Viktor Tarasov 2016-03-06 19:28:59 +01:00
parent 9985144d45
commit 2173450664
1 changed files with 1 additions and 1 deletions

View File

@ -485,7 +485,7 @@ int sc_create_file(sc_card_t *card, sc_file_t *file)
if (r != SC_SUCCESS)
pbuf[0] = '\0';
sc_log(card->ctx, "called; type=%d, path=%s, size=%u", in_path->type, pbuf, file->size);
sc_log(card->ctx, "called; type=%d, path=%s, id=%04i, size=%u", in_path->type, pbuf, file->id, file->size);
/* ISO 7816-4: "Number of data bytes in the file, including structural information if any"
* can not be bigger than two bytes */
if (file->size > 0xFFFF)