summaryrefslogtreecommitdiff
path: root/source3/smbd/server.c
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 /source3/smbd/server.c
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 'source3/smbd/server.c')
-rw-r--r--source3/smbd/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/server.c b/source3/smbd/server.c
index feb47daf502..81b66b7ee07 100644
--- a/source3/smbd/server.c
+++ b/source3/smbd/server.c
@@ -1337,8 +1337,8 @@ extern void build_options(bool screen);
setpgid( (pid_t)0, (pid_t)0);
#endif
- if (!directory_exist(lp_lockdir()))
- mkdir(lp_lockdir(), 0755);
+ if (!directory_exist(lp_lock_directory()))
+ mkdir(lp_lock_directory(), 0755);
if (!directory_exist(lp_piddir()))
mkdir(lp_piddir(), 0755);