summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/VFS/skel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/VFS/skel.c b/examples/VFS/skel.c
index d1ec5b9180..9bb84fe2b1 100644
--- a/examples/VFS/skel.c
+++ b/examples/VFS/skel.c
@@ -132,8 +132,9 @@ struct vfs_ops skel_ops = {
/* VFS initialisation - return vfs_ops function pointer structure */
-struct vfs_ops *vfs_init(void)
+struct vfs_ops *vfs_init(int *vfs_version)
{
+ *vfs_version = SMB_VFS_INTERFACE_VERSION;
return(&skel_ops);
}