summaryrefslogtreecommitdiff
path: root/source3/utils
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-28 10:34:09 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:41 +0200
commit7c41dda1b3195c9e6cdca3fb1cc04d5cfeb1bdbe (patch)
treea256c766a7ae410cfcbe6959c90973b0f9714651 /source3/utils
parentd696beefb1efd2e3fa9f6c00f6ba88be01d4ac85 (diff)
downloadsamba-7c41dda1b3195c9e6cdca3fb1cc04d5cfeb1bdbe.tar.gz
samba-7c41dda1b3195c9e6cdca3fb1cc04d5cfeb1bdbe.tar.bz2
samba-7c41dda1b3195c9e6cdca3fb1cc04d5cfeb1bdbe.zip
s3:split_tokens: use lp_load_global(), fixing the call to lp_load()
this does not need share and it dos not need to save defaults
Diffstat (limited to 'source3/utils')
-rw-r--r--source3/utils/split_tokens.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/split_tokens.c b/source3/utils/split_tokens.c
index 3de5f393d9..483311cc0d 100644
--- a/source3/utils/split_tokens.c
+++ b/source3/utils/split_tokens.c
@@ -59,7 +59,7 @@ int main(int argc, const char *argv[])
lp_set_cmdline("log level", "0");
- if (!lp_load(config_file,false,true,false,true)) {
+ if (!lp_load_global(config_file)) {
fprintf(stderr,"Error loading services.\n");
return 1;
}