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/passdb/pdb_guest.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/passdb/pdb_guest.c') diff --git a/source3/passdb/pdb_guest.c b/source3/passdb/pdb_guest.c index f5a15057e0..999779b0c6 100644 --- a/source3/passdb/pdb_guest.c +++ b/source3/passdb/pdb_guest.c @@ -122,8 +122,8 @@ NTSTATUS pdb_init_guestsam(PDB_CONTEXT *pdb_context, PDB_METHODS **pdb_method, c return NT_STATUS_OK; } -int pdb_guest_init(void) +NTSTATUS pdb_guest_init(void) { - return smb_register_passdb("guest", pdb_init_guestsam, PASSDB_INTERFACE_VERSION); + return smb_register_passdb(PASSDB_INTERFACE_VERSION, "guest", pdb_init_guestsam); } -- cgit