diff --git a/libntfs-3g/index.c b/libntfs-3g/index.c index 62fbd1b0..53b0d4b3 100644 --- a/libntfs-3g/index.c +++ b/libntfs-3g/index.c @@ -1696,9 +1696,8 @@ descend: goto descend; if (ntfs_ih_zero_entry(&ib->index)) { - errno = EOPNOTSUPP; - ntfs_log_perror("Failed to find any entry in an index block. " - "Please run chkdsk."); + errno = EIO; + ntfs_log_perror("Empty index block"); goto out; }