summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-28 10:30:20 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:40 +0200
commitd29be7d263a841d4fb7d37360adda588c8a530bc (patch)
tree42ba0efb114c5b095bba816c66cf83188a566ff0
parentb9fdfbad2e1d18dfd3057e64511101cc171945b2 (diff)
downloadsamba-d29be7d263a841d4fb7d37360adda588c8a530bc.tar.gz
samba-d29be7d263a841d4fb7d37360adda588c8a530bc.tar.bz2
samba-d29be7d263a841d4fb7d37360adda588c8a530bc.zip
s3: use lp_load_global() in smbw_sample -- whatever this is ... :-)
-rw-r--r--source3/utils/smbw_sample.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/smbw_sample.c b/source3/utils/smbw_sample.c
index eface2fc46..2c4a20fab7 100644
--- a/source3/utils/smbw_sample.c
+++ b/source3/utils/smbw_sample.c
@@ -34,7 +34,7 @@ int main(int argc, char *argv[])
char *path;
TALLOC_CTX *frame = talloc_stackframe();
- lp_load(get_dyn_CONFIGFILE(),1,0,0,1);
+ lp_load_global(get_dyn_CONFIGFILE());
smbw_setup_shared();
while ((opt = getopt(argc, argv, "W:U:R:d:P:l:hL:")) != EOF) {