1
0
mirror of https://github.com/samba-team/samba.git synced 2025-08-02 00:22:11 +03:00

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 bc4b51bcb2)
This commit is contained in:
Jelmer Vernooij
2003-04-28 17:48:48 +00:00
parent cff01c538f
commit 17a3acafa8
38 changed files with 164 additions and 127 deletions

View File

@ -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);
}