Changes by: szaka
Update of /cvs/linux-ntfs/ntfsprogs/ntfsprogs
In directory delta357.server4you.de:/tmp/cvs-serv17816
Modified Files:
ntfsclone.c
Log Message:
more detailed error messages
Index: ntfsclone.c
===================================================================
RCS file: /cvs/linux-ntfs/ntfsprogs/ntfsprogs/ntfsclone.c,v
retrieving revision 1.83
retrieving revision 1.84
diff -u -p -r1.83 -r1.84
--- ntfsclone.c 13 Aug 2006 14:49:35 -0000 1.83
+++ ntfsclone.c 13 Aug 2006 14:52:19 -0000 1.84
@@ -745,7 +745,8 @@ static void wipe_index_allocation_timest
indexr = ntfs_index_root_get(ni, attr);
if (!indexr) {
- perr_printf("Failed to read $INDEX_ROOT attribute");
+ perr_printf("Failed to read $INDEX_ROOT attribute of inode "
+ "%lld", ni->mft_no);
return;
}
@@ -807,7 +808,7 @@ static void wipe_index_allocation_timest
}
if (ntfs_rl_pwrite(vol, na->rl, 0, na->data_size, indexa) != na->data_size)
- perr_printf("ntfs_rl_pwrite failed");
+ perr_printf("ntfs_rl_pwrite failed for inode %lld", ni->mft_no);
out_indexa:
free(indexa);
out_na:
|