diff options
| author | Garming Sam <garming@catalyst.net.nz> | 2014-02-03 15:57:21 +1300 |
|---|---|---|
| committer | Jeremy Allison <jra@samba.org> | 2014-02-07 16:19:11 -0800 |
| commit | ca20ddbe910b5fbd29e1bd0f1ef39d4d3720ebaa (patch) | |
| tree | febb2ce60142c463d7392c6e114544ada4484fb4 /source3/utils | |
| parent | 8b8ebb47981a8242679697b229c692c2ee022d1c (diff) | |
| download | samba-ca20ddbe910b5fbd29e1bd0f1ef39d4d3720ebaa.tar.gz samba-ca20ddbe910b5fbd29e1bd0f1ef39d4d3720ebaa.tar.xz samba-ca20ddbe910b5fbd29e1bd0f1ef39d4d3720ebaa.zip | |
param: rename lp function and variable from 'piddir' to 'pid_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/utils')
| -rw-r--r-- | source3/utils/smbcontrol.c | 2 | ||||
| -rw-r--r-- | source3/utils/testparm.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/smbcontrol.c b/source3/utils/smbcontrol.c index 7299bc4398..156a7ad352 100644 --- a/source3/utils/smbcontrol.c +++ b/source3/utils/smbcontrol.c @@ -1441,7 +1441,7 @@ static struct server_id parse_dest(struct messaging_context *msg, /* Look up other destinations in pidfile directory */ - if ((pid = pidfile_pid(lp_piddir(), dest)) != 0) { + if ((pid = pidfile_pid(lp_pid_directory(), dest)) != 0) { return pid_to_procid(pid); } diff --git a/source3/utils/testparm.c b/source3/utils/testparm.c index f33180d14c..bf024c6bab 100644 --- a/source3/utils/testparm.c +++ b/source3/utils/testparm.c @@ -118,9 +118,9 @@ static int do_global_checks(void) lp_cachedir()); } - if (!directory_exist_stat(lp_piddir(), &st)) { + if (!directory_exist_stat(lp_pid_directory(), &st)) { fprintf(stderr, "ERROR: pid directory %s does not exist\n\n", - lp_piddir()); + lp_pid_directory()); ret = 1; } |
