From 30263fb7498a78fdcb585774cc0408f39037ba1c Mon Sep 17 00:00:00 2001 From: cha0smaster Date: Sun, 14 Aug 2005 16:06:33 +0000 Subject: [PATCH] fix stupidness introduced just before commit --- libntfs/index.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libntfs/index.c b/libntfs/index.c index 7f85cc3c..2fbe4ee2 100644 --- a/libntfs/index.c +++ b/libntfs/index.c @@ -455,8 +455,8 @@ int ntfs_index_add_filename(ntfs_inode *ni, FILE_NAME_ATTR *fn, MFT_REF mref) ntfs_debug("Entering."); if (!ni || !fn) { ntfs_error(, "Invalid arguments."); - err = EINVAL; - goto err_out; + errno = EINVAL; + return -1; } ictx = ntfs_index_ctx_get(ni, I30, 4); if (!ictx)