diff options
author | Volker Lendecke <vl@samba.org> | 2009-02-14 18:25:33 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2009-02-14 22:01:03 +0100 |
commit | 913c547cf6a232c0f0021ef5fa548a3034813b6f (patch) | |
tree | 5b6029c93408425035355c724ca3970cb31f3899 | |
parent | b08e24a44ccfea3c1f61a4e796641797cdc2bb11 (diff) | |
download | samba-913c547cf6a232c0f0021ef5fa548a3034813b6f.tar.gz samba-913c547cf6a232c0f0021ef5fa548a3034813b6f.tar.bz2 samba-913c547cf6a232c0f0021ef5fa548a3034813b6f.zip |
Rename lp_smb_perfcount_module() to lp_perfcount_module() to match the parameter name
-rw-r--r-- | source3/include/proto.h | 2 | ||||
-rw-r--r-- | source3/param/loadparm.c | 2 | ||||
-rw-r--r-- | source3/smbd/perfcount.c | 2 |
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]) |