ntfs_mft_bitmap_find_free_rec: log errno

master
szaka 2007-07-21 22:20:26 +00:00
parent 75649971f9
commit 817e052b80
1 changed files with 1 additions and 1 deletions

View File

@ -491,7 +491,7 @@ static int ntfs_mft_bitmap_find_free_rec(ntfs_volume *vol, ntfs_inode *base_ni)
size = ll;
ll = ntfs_attr_pread(mftbmp_na, ofs, size, buf);
if (ll < 0) {
ntfs_log_error("Failed to read $MFT bitmap\n");
ntfs_log_perror("Failed to read $MFT bitmap");
free(buf);
return -1;
}