Changes by: szaka
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19384/ntfsprogs
Modified Files:
ntfsinfo.c
Log Message:
Use more meaningful error messages
Index: ntfsinfo.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/ntfsinfo.c,v
retrieving revision 1.110
retrieving revision 1.111
diff -u -p -r1.110 -r1.111
--- ntfsinfo.c 27 Mar 2006 20:01:37 -0000 1.110
+++ ntfsinfo.c 27 Mar 2006 20:14:22 -0000 1.111
@@ -1095,7 +1095,7 @@ static void ntfs_dump_sds(ATTR_RECORD *a
sd = sds = ntfs_attr_readall(ni, AT_DATA, name, name_len, &data_size);
if (!sd) {
- ntfs_log_perror("ntfs_attr_readall failed");
+ ntfs_log_perror("Failed to read $SDS attribute");
return;
}
/*
@@ -1622,14 +1622,14 @@ static void ntfs_dump_index_allocation(A
byte = bitmap = ntfs_attr_readall(ni, AT_BITMAP, name, name_len, NULL);
if (!byte) {
- ntfs_log_perror("ntfs_attr_readall failed");
+ ntfs_log_perror("Failed to read $BITMAP attribute");
return;
}
tmp_alloc = allocation = ntfs_attr_readall(ni, AT_INDEX_ALLOCATION,
name, name_len, &data_size);
if (!tmp_alloc) {
- ntfs_log_perror("ntfs_attr_readall failed");
+ ntfs_log_perror("Failed to read $INDEX_ALLOCATION attribute");
free(bitmap);
return;
}
|