Changes by: szaka
Update of /cvsroot/linux-ntfs/ntfsprogs/libntfs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv31385/libntfs
Modified Files:
attrib.c
Log Message:
ntfs_get_attribute_value(): report in error what's the non-zero attribute flags
Index: attrib.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/libntfs/attrib.c,v
retrieving revision 1.199
retrieving revision 1.200
diff -u -p -r1.199 -r1.200
--- attrib.c 17 Nov 2005 18:00:58 -0000 1.199
+++ attrib.c 26 Nov 2005 01:08:12 -0000 1.200
@@ -105,8 +105,8 @@ s64 ntfs_get_attribute_value(const ntfs_
}
/* Complex attribute? */
if (a->flags) {
- ntfs_log_debug("Encountered non-zero attribute flags. Cannot handle "
- "this yet.\n");
+ ntfs_log_error("Non-zero (%04x) attribute flags. Cannot handle "
+ "this yet.\n", le16_to_cpu(a->flags));
errno = EOPNOTSUPP;
return 0;
}
|