summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-28 10:39:45 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:42 +0200
commitb793e02c6bb1962f44e8732cbf790b7912b7abe6 (patch)
treeba91288f9ea682044a8f82b7c9431fd8e554547d /source3/utils
parent7c41dda1b3195c9e6cdca3fb1cc04d5cfeb1bdbe (diff)
downloadsamba-b793e02c6bb1962f44e8732cbf790b7912b7abe6.tar.gz
samba-b793e02c6bb1962f44e8732cbf790b7912b7abe6.tar.bz2
samba-b793e02c6bb1962f44e8732cbf790b7912b7abe6.zip
s3:smbstatus: use lp_load_global() - smbstatus does not need to load shares!
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c
index 4d37f7e66e..001c5fd011 100644
--- a/source3/utils/status.c
+++ b/source3/utils/status.c
@@ -393,7 +393,7 @@ static int traverse_sessionid(const char *key, struct sessionid *session,
}
}
- if (!lp_load(get_dyn_CONFIGFILE(),False,False,False,True)) {
+ if (!lp_load_global(get_dyn_CONFIGFILE())) {
fprintf(stderr, "Can't load %s - run testparm to debug it\n",
get_dyn_CONFIGFILE());
ret = -1;