summaryrefslogtreecommitdiff
path: root/examples/VFS
diff options
context:
space:
mode:
Diffstat (limited to 'examples/VFS')
-rw-r--r--examples/VFS/skel_opaque.c2
-rw-r--r--examples/VFS/skel_transparent.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c
index a7814957de..42f4e48cd9 100644
--- a/examples/VFS/skel_opaque.c
+++ b/examples/VFS/skel_opaque.c
@@ -356,7 +356,7 @@ static int skel_mknod(vfs_handle_struct *handle, const char *path, mode_t mode,
return -1;
}
-static char *skel_realpath(vfs_handle_struct *handle, const char *path, char *resolved_path)
+static char *skel_realpath(vfs_handle_struct *handle, const char *path)
{
errno = ENOSYS;
return NULL;
diff --git a/examples/VFS/skel_transparent.c b/examples/VFS/skel_transparent.c
index 3be5cf9336..42e54a8871 100644
--- a/examples/VFS/skel_transparent.c
+++ b/examples/VFS/skel_transparent.c
@@ -332,9 +332,9 @@ static int skel_mknod(vfs_handle_struct *handle, const char *path, mode_t mode,
return SMB_VFS_NEXT_MKNOD(handle, path, mode, dev);
}
-static char *skel_realpath(vfs_handle_struct *handle, const char *path, char *resolved_path)
+static char *skel_realpath(vfs_handle_struct *handle, const char *path)
{
- return SMB_VFS_NEXT_REALPATH(handle, path, resolved_path);
+ return SMB_VFS_NEXT_REALPATH(handle, path);
}
static NTSTATUS skel_notify_watch(struct vfs_handle_struct *handle,