summaryrefslogtreecommitdiff
path: root/source4/smbd
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-03 15:46:08 +1300
committerJeremy Allison <jra@samba.org>2014-02-07 16:19:10 -0800
commit63c24977ba06dba46d7080400775f8937ecee108 (patch)
treee2b9560345cb19ceeaf477c3b9eba20399f38d36 /source4/smbd
parente23c7adb1a5f23aa3b688e76888c778e12368320 (diff)
downloadsamba-63c24977ba06dba46d7080400775f8937ecee108.tar.gz
param: rename lp function and variable from 'lockdir' to 'lock_directory'
Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source4/smbd')
-rw-r--r--source4/smbd/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/smbd/server.c b/source4/smbd/server.c
index 79fe2eee9ee..da839c5e0ce 100644
--- a/source4/smbd/server.c
+++ b/source4/smbd/server.c
@@ -384,8 +384,8 @@ static int binary_smbd_main(const char *binary_name, int argc, const char *argv[
cleanup_tmp_files(cmdline_lp_ctx);
- if (!directory_exist(lpcfg_lockdir(cmdline_lp_ctx))) {
- mkdir(lpcfg_lockdir(cmdline_lp_ctx), 0755);
+ if (!directory_exist(lpcfg_lock_directory(cmdline_lp_ctx))) {
+ mkdir(lpcfg_lock_directory(cmdline_lp_ctx), 0755);
}
pidfile_create(lpcfg_piddir(cmdline_lp_ctx), binary_name);