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; }