s3: This module needs rewriting...
authorVolker Lendecke <vl@samba.org>
Mon, 14 Mar 2011 15:17:49 +0000 (16:17 +0100)
committerVolker Lendecke <vlendec@samba.org>
Mon, 14 Mar 2011 16:47:32 +0000 (17:47 +0100)
Autobuild-User: Volker Lendecke <vlendec@samba.org>
Autobuild-Date: Mon Mar 14 17:47:32 CET 2011 on sn-devel-104

source3/modules/vfs_shadow_copy2.c

index 2777907a57da081118e8d11f846f6a33f9095a1d..93330f4b508b981745ac470c16a07651309cbb43 100644 (file)
@@ -675,7 +675,7 @@ 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, fname), char *,
+               SHADOW2_NEXT(REALPATH, (handle, name), char *,
                             NULL);
        }
         SHADOW2_NEXT(REALPATH, (handle, name), char *, NULL);