summaryrefslogtreecommitdiff
path: root/examples/VFS/skel_opaque.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/VFS/skel_opaque.c')
-rw-r--r--examples/VFS/skel_opaque.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index ee8a3d8f71..5d05be9aab 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -169,9 +169,11 @@ static ssize_t skel_recvfile(vfs_handle_struct *handle, int fromfd, files_struct
return vfswrap_recvfile(NULL, fromfd, tofsp, offset, n);
}
-static int skel_rename(vfs_handle_struct *handle, const char *oldname, const char *newname)
+static int skel_rename(vfs_handle_struct *handle,
+ const smb_filename *smb_fname_src,
+ const smb_filename *smb_fname_dst)
{
- return vfswrap_rename(NULL, oldname, newname);
+ return vfswrap_rename(NULL, smb_fname_src, smb_fname_dst);
}
static int skel_fsync(vfs_handle_struct *handle, files_struct *fsp)