From 6a3da7101b6b962f9da6ce4e3c69521fd1302813 Mon Sep 17 00:00:00 2001 From: szaka Date: Tue, 10 Feb 2009 20:06:29 +0000 Subject: [PATCH] ntfs_attr_lookup: log all errors --- libntfs-3g/attrib.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libntfs-3g/attrib.c b/libntfs-3g/attrib.c index c3178600..4579bd4e 100644 --- a/libntfs-3g/attrib.c +++ b/libntfs-3g/attrib.c @@ -2334,6 +2334,7 @@ int ntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name, (!ctx->ntfs_ino || !(vol = ctx->ntfs_ino->vol) || !vol->upcase || !vol->upcase_len))) { errno = EINVAL; + ntfs_log_perror("%s", __FUNCTION__); goto out; }