summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Ambach <ambi@samba.org>2011-08-29 17:48:53 +0200
committerChristian Ambach <ambi@samba.org>2011-08-31 11:22:26 +0200
commit59e8db0f060479be3a853ce718bcdf4f9ce0138d (patch)
treeecbdf7da00a417d168a4328bc91c2b5dd513467c
parent4c2be3df0ef00ea1307fe022f8d156edeffb36a5 (diff)
downloadsamba-59e8db0f060479be3a853ce718bcdf4f9ce0138d.tar.gz
samba-59e8db0f060479be3a853ce718bcdf4f9ce0138d.tar.bz2
samba-59e8db0f060479be3a853ce718bcdf4f9ce0138d.zip
s3:modules make perfcount_test loadable again
use expected 'init_samba_module' name for initializer function Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Wed Aug 31 11:22:26 CEST 2011 on sn-devel-104
-rw-r--r--source3/modules/perfcount_test.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/modules/perfcount_test.c b/source3/modules/perfcount_test.c
index c0b53360c7..99904ac3da 100644
--- a/source3/modules/perfcount_test.c
+++ b/source3/modules/perfcount_test.c
@@ -381,7 +381,7 @@ static struct smb_perfcount_handlers perfcount_test_handlers = {
perfcount_test_end
};
-NTSTATUS perfcount_test_init(void)
+NTSTATUS init_samba_module(void)
{
return smb_register_perfcounter(SMB_PERFCOUNTER_INTERFACE_VERSION,
"pc_test", &perfcount_test_handlers);