s3:torture: use lp_load_global() in locktest2
authorMichael Adam <obnox@samba.org>
Wed, 27 Jul 2011 14:56:23 +0000 (16:56 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 28 Jul 2011 09:17:32 +0000 (11:17 +0200)
source3/torture/locktest2.c

index 5115d1364fef22a131c2fe113e07b1b2cd74bdb5..d06acbc757097c33f74da0c992db9ac8da945780 100644 (file)
@@ -513,7 +513,7 @@ static void usage(void)
        argc -= 4;
        argv += 4;
 
-       lp_load(get_dyn_CONFIGFILE(),True,False,False,True);
+       lp_load_global(get_dyn_CONFIGFILE());
        load_interfaces();
 
        if (getenv("USER")) {