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:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user