s3:modules make perfcount_test loadable again
authorChristian Ambach <ambi@samba.org>
Mon, 29 Aug 2011 15:48:53 +0000 (17:48 +0200)
committerChristian Ambach <ambi@samba.org>
Wed, 31 Aug 2011 09:22:26 +0000 (11:22 +0200)
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

source3/modules/perfcount_test.c

index c0b53360c72269d0553f9fc29a041f1ab8985731..99904ac3da342e1d4db89a5da1b8a9872cdc0ea0 100644 (file)
@@ -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);