From c8fa404931fdd7474b0cfcf7821b16e073fabc81 Mon Sep 17 00:00:00 2001 From: jpandre Date: Thu, 21 Jan 2010 08:15:27 +0000 Subject: [PATCH] Fixed a return error code (Fabian Keil) --- libntfs-3g/attrib.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libntfs-3g/attrib.c b/libntfs-3g/attrib.c index 02b5d6aa..81533672 100644 --- a/libntfs-3g/attrib.c +++ b/libntfs-3g/attrib.c @@ -4599,7 +4599,7 @@ static int ntfs_attr_make_resident(ntfs_attr *na, ntfs_attr_search_ctx *ctx) if (sle64_to_cpu(a->lowest_vcn)) { ntfs_log_trace("Eeek! Should be called for the first extent of the " "attribute. Aborting...\n"); - err = EINVAL; + errno = EINVAL; return -1; }