From d4abfcc04bcc3732d04abb9722e1bf85110131df Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 28 Jul 2011 10:20:24 +0200 Subject: s3:pdbedit: use lp_load_global() --- source3/utils/pdbedit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source3/utils/pdbedit.c b/source3/utils/pdbedit.c index dc126594db..123db0f870 100644 --- a/source3/utils/pdbedit.c +++ b/source3/utils/pdbedit.c @@ -1077,7 +1077,7 @@ int main (int argc, char **argv) if (user_name == NULL) user_name = poptGetArg(pc); - 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()); exit(1); } -- cgit