From c5bceb84de56f5dabb222e0ac38674bd8abf095a Mon Sep 17 00:00:00 2001 From: szaka Date: Sat, 26 Nov 2005 01:08:12 +0000 Subject: [PATCH] ntfs_get_attribute_value(): report in error what's the non-zero attribute flags --- libntfs/attrib.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libntfs/attrib.c b/libntfs/attrib.c index 0282cdea..a086cd29 100644 --- a/libntfs/attrib.c +++ b/libntfs/attrib.c @@ -105,8 +105,8 @@ s64 ntfs_get_attribute_value(const ntfs_volume *vol, } /* 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; }