summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-28 10:18:55 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:37 +0200
commitac9a61bda885e68451bb47d2c44e37a7ff724bed (patch)
tree8a48f9170da906e605c28b72b236922f1b627ae0 /source3
parent82202f99b3d392ad8671d3f9484b0f9e53c3f9f7 (diff)
downloadsamba-ac9a61bda885e68451bb47d2c44e37a7ff724bed.tar.gz
samba-ac9a61bda885e68451bb47d2c44e37a7ff724bed.tar.bz2
samba-ac9a61bda885e68451bb47d2c44e37a7ff724bed.zip
s3:nmblookup: use lp_load_global()
Diffstat (limited to 'source3')
-rw-r--r--source3/utils/nmblookup.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/nmblookup.c b/source3/utils/nmblookup.c
index 73db278e36..b767b412e4 100644
--- a/source3/utils/nmblookup.c
+++ b/source3/utils/nmblookup.c
@@ -300,7 +300,7 @@ int main(int argc,char *argv[])
exit(1);
}
- if (!lp_load(get_dyn_CONFIGFILE(),True,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());
}