summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZephiles <cae222@yahoo.com>2022-05-06 16:55:28 -0500
committerZephiles <cae222@yahoo.com>2022-05-06 16:55:28 -0500
commitb36dea5da67335ce6ca2ba143f03008bfa9c010e (patch)
tree92fe20e9ebc1c32cca7c87388c1654fb6c44895e
parent5239faff5ac45a76deef6f6afc07799768c4e564 (diff)
Fix incorrect CARDStat variable usage
-rw-r--r--source/tools.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/tools.cpp b/source/tools.cpp
index 222d1ec..e9532e8 100644
--- a/source/tools.cpp
+++ b/source/tools.cpp
@@ -139,7 +139,7 @@ namespace libtp::tools
if ( startAfterComments )
{
CARDStat stat;
- result = CARDGetStatus( chan, fileInfo.fileNum, &stat );
+ result = CARDGetStatus( chan, fileInfo.fileNo, &stat );
if ( result != CARD_RESULT_READY )
{