summaryrefslogtreecommitdiff
path: root/examples/VFS/skel_transparent.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/VFS/skel_transparent.c')
-rw-r--r--examples/VFS/skel_transparent.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c
index 646c6222ae..09a926ad43 100644
--- a/examples/VFS/skel_transparent.c
+++ b/examples/VFS/skel_transparent.c
@@ -189,9 +189,10 @@ static int skel_lstat(vfs_handle_struct *handle, struct smb_filename *smb_fname)
return SMB_VFS_NEXT_LSTAT(handle, smb_fname);
}
-static int skel_unlink(vfs_handle_struct *handle, const char *path)
+static int skel_unlink(vfs_handle_struct *handle,
+ const struct smb_filename *smb_fname)
{
- return SMB_VFS_NEXT_UNLINK(handle, path);
+ return SMB_VFS_NEXT_UNLINK(handle, smb_fname);
}
static int skel_chmod(vfs_handle_struct *handle, const char *path, mode_t mode)