diff options
Diffstat (limited to 'src/ntfsx.c')
-rw-r--r-- | src/ntfsx.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ntfsx.c b/src/ntfsx.c index 791fc16..9d5aa96 100644 --- a/src/ntfsx.c +++ b/src/ntfsx.c @@ -473,6 +473,7 @@ bool ntfsx_record_read(ntfsx_record* record, uint64 begSector, int dd) !ntfs_dofixups(record->_clus.data, record->_clus.size)) { warnx("invalid mft record"); + errno = EINVAL; ntfsx_cluster_release(&(record->_clus)); return false; } |