From 61842b0bacf4edc17a9fa6b3618b8603291c144a Mon Sep 17 00:00:00 2001 From: szaka Date: Sun, 13 Jul 2008 23:52:55 +0000 Subject: [PATCH] ntfs_attr_update_mapping_pairs(): fix last ntfs_attr_update_meta() errno --- 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 a982988b..b04448b2 100644 --- a/libntfs-3g/attrib.c +++ b/libntfs-3g/attrib.c @@ -4347,7 +4347,7 @@ retry: switch (err) { case -1: return -1; case -2: goto retry; - case -3: goto put_err_out; + case -3: err = errno; goto put_err_out; } /* Get the size for the rest of mapping pairs array. */