summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h2
-rw-r--r--source3/param/loadparm.c2
-rw-r--r--source3/smbd/perfcount.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index bfbf972be7..8a5d649b48 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4395,7 +4395,7 @@ void lp_set_posix_pathnames(void);
enum brl_flavour lp_posix_cifsu_locktype(files_struct *fsp);
void lp_set_posix_default_cifsx_readwrite_locktype(enum brl_flavour val);
int lp_min_receive_file_size(void);
-char* lp_smb_perfcount_module(void);
+char* lp_perfcount_module(void);
/* The following definitions come from param/params.c */
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index a127ec5394..a9f2809f8b 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -5185,7 +5185,7 @@ FN_GLOBAL_STRING(lp_utmpdir, &Globals.szUtmpDir)
FN_GLOBAL_STRING(lp_wtmpdir, &Globals.szWtmpDir)
FN_GLOBAL_BOOL(lp_utmp, &Globals.bUtmp)
FN_GLOBAL_STRING(lp_rootdir, &Globals.szRootdir)
-FN_GLOBAL_STRING(lp_smb_perfcount_module, &Globals.szSMBPerfcountModule)
+FN_GLOBAL_STRING(lp_perfcount_module, &Globals.szSMBPerfcountModule)
FN_GLOBAL_STRING(lp_defaultservice, &Globals.szDefaultService)
FN_GLOBAL_STRING(lp_msg_command, &Globals.szMsgCommand)
FN_GLOBAL_STRING(lp_get_quota_command, &Globals.szGetQuota)
diff --git a/source3/smbd/perfcount.c b/source3/smbd/perfcount.c
index 90aaac2f45..a0ba0a5f8e 100644
--- a/source3/smbd/perfcount.c
+++ b/source3/smbd/perfcount.c
@@ -175,7 +175,7 @@ bool smb_perfcount_init(void)
{
char *perfcount_object;
- perfcount_object = lp_smb_perfcount_module();
+ perfcount_object = lp_perfcount_module();
/* don't init */
if (!perfcount_object || !perfcount_object[0])