From 81256ecbb977351b4d6a992df17be4b107071935 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 28 Apr 2003 18:33:25 +0000 Subject: Use NTSTATUS as return value for smb_register_*() functions and init_module() function. Patch by metze with some minor modifications. (This used to be commit f4576757d1d52a8f1b96894c869bb76450003fd1) --- source3/modules/vfs_fake_perms.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/modules/vfs_fake_perms.c') diff --git a/source3/modules/vfs_fake_perms.c b/source3/modules/vfs_fake_perms.c index 121a99a451..3a18fbb730 100644 --- a/source3/modules/vfs_fake_perms.c +++ b/source3/modules/vfs_fake_perms.c @@ -281,7 +281,7 @@ static vfs_op_tuple *fake_perms_init(const struct vfs_ops *def_vfs_ops, return fake_perms_ops; } -int vfs_fake_perms_init(void) +NTSTATUS vfs_fake_perms_init(void) { - return smb_register_vfs("fake_perms", fake_perms_init, SMB_VFS_INTERFACE_VERSION); + return smb_register_vfs(SMB_VFS_INTERFACE_VERSION, "fake_perms", fake_perms_init); } -- cgit