From bad8106bc0fc8f509e9a29d7de301dc46d604abe Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Sun, 23 Jan 2011 14:47:41 -0600 Subject: Various output and progress tweaks. --- src/ntfsx.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ntfsx.c') 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; } -- cgit v1.2.3