summaryrefslogtreecommitdiff
path: root/src/ntfsx.c
diff options
context:
space:
mode:
authorStef Walter <stef@thewalter.net>2011-01-23 14:47:41 -0600
committerStef Walter <stef@thewalter.net>2011-01-23 14:47:41 -0600
commitbad8106bc0fc8f509e9a29d7de301dc46d604abe (patch)
tree6668c79d0c2daf63bc72a8225d91f11bfaa0cb65 /src/ntfsx.c
parent0ce28cbfed5d711405dbfd85f7321b824842e47a (diff)
Various output and progress tweaks.
Diffstat (limited to 'src/ntfsx.c')
-rw-r--r--src/ntfsx.c1
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;
}