summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorGarming Sam <garming@catalyst.net.nz>2014-02-03 16:00:28 +1300
committerJeremy Allison <jra@samba.org>2014-02-07 16:19:11 -0800
commita702fca94bf868da3386749925452e66ce4d9bda (patch)
tree426d0f336b3d71b8722832572ed224cd88037bc3 /source3/smbd
parentca20ddbe910b5fbd29e1bd0f1ef39d4d3720ebaa (diff)
downloadsamba-a702fca94bf868da3386749925452e66ce4d9bda.tar.gz
param: rename lp function and variable from 'umtpdir' to 'utmp_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')
-rw-r--r--source3/smbd/utmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/utmp.c b/source3/smbd/utmp.c
index 0dc1917bfe2..15abc521cb7 100644
--- a/source3/smbd/utmp.c
+++ b/source3/smbd/utmp.c
@@ -227,7 +227,7 @@ static char *uw_pathname(TALLOC_CTX *ctx,
/* For u-files and non-explicit w-dir, look for "utmp dir" */
if ((dirname == NULL) || (strlen(dirname) == 0)) {
- dirname = talloc_strdup(ctx, lp_utmpdir());
+ dirname = talloc_strdup(ctx, lp_utmp_directory());
if (!dirname) {
return NULL;
}