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.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index 118a5b9da7..d1000f15b9 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -122,9 +122,10 @@ static int skel_closedir(vfs_handle_struct *handle, SMB_STRUCT_DIR *dir)
return vfswrap_closedir(NULL, dir);
}
-static int skel_open(vfs_handle_struct *handle, const char *fname, files_struct *fsp, int flags, mode_t mode)
+static int skel_open(vfs_handle_struct *handle, struct smb_fname *smb_fname,
+ files_struct *fsp, int flags, mode_t mode)
{
- return vfswrap_open(NULL, fname, flags, mode);
+ return vfswrap_open(NULL, smb_fname, flags, mode);
}
static int skel_close(vfs_handle_struct *handle, files_struct *fsp)