summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-01-13 00:42:04 +0000
committerJeremy Allison <jra@samba.org>2000-01-13 00:42:04 +0000
commit6d81c60a05570bae53eba8efe6eb3d62c440b750 (patch)
tree827db6bc72ffede53dc99e5d5552287e7ca1c27b /source3
parent1e2f92af555166ea4e042e33ef41957354d233f8 (diff)
downloadsamba-6d81c60a05570bae53eba8efe6eb3d62c440b750.tar.gz
samba-6d81c60a05570bae53eba8efe6eb3d62c440b750.tar.bz2
samba-6d81c60a05570bae53eba8efe6eb3d62c440b750.zip
Added missing #ifdef for WITH_UTMP.
Jeremy. (This used to be commit 465c5a830827b82f0535d4507b3432c2df6de658)
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 5a3cc806d5..3ac6d78f04 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -898,7 +898,9 @@ static void init_globals(void)
string_set(&Globals.szDriverFile, DRIVERFILE);
string_set(&Globals.szLockDir, LOCKDIR);
string_set(&Globals.szRootdir, "/");
+#ifdef WITH_UTMP
string_set(&Globals.szUtmpDir, "");
+#endif /* WITH_UTMP */
string_set(&Globals.szSmbrun, SMBRUN);
string_set(&Globals.szSocketAddress, "0.0.0.0");
pstrcpy(s, "Samba ");