ntfs_external_attr_find: fix crash when extent inode can't be opened (Erik Larsson, Szabolcs Szakacsits)

master
szaka 2009-02-10 21:56:48 +00:00
parent ff7940b7e7
commit 27dfa1a105
1 changed files with 1 additions and 1 deletions

View File

@ -2199,7 +2199,7 @@ do_next_attr:
ctx->attr = ctx->base_attr;
}
errno = EIO;
ntfs_log_perror("Inode is corrupt (%lld)", (unsigned long long)ni->mft_no);
ntfs_log_perror("Inode is corrupt (%lld)", (long long)base_ni->mft_no);
return -1;
not_found:
/*