summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/modules/vfs_shadow_copy2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_shadow_copy2.c b/source3/modules/vfs_shadow_copy2.c
index ba6b3441b8..f47b287ea5 100644
--- a/source3/modules/vfs_shadow_copy2.c
+++ b/source3/modules/vfs_shadow_copy2.c
@@ -671,10 +671,10 @@ static char *shadow_copy2_realpath(vfs_handle_struct *handle,
copy[gmt - fname + 1] = '\0';
DEBUG(10, ("calling NEXT_REALPATH with %s\n", copy));
- SHADOW2_NEXT(REALPATH, (handle, copy), char *,
+ SHADOW2_NEXT(REALPATH, (handle, fname), char *,
NULL);
}
- SHADOW2_NEXT(REALPATH, (handle, name), char *, NULL);
+ SHADOW2_NEXT(REALPATH, (handle, fname), char *, NULL);
}
static const char *shadow_copy2_connectpath(struct vfs_handle_struct *handle,