s3:smbtorture: use the lp_load_global() wrapper of lp_load()
authorMichael Adam <obnox@samba.org>
Thu, 28 Jul 2011 08:14:27 +0000 (10:14 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 28 Jul 2011 09:17:35 +0000 (11:17 +0200)
source3/torture/torture.c

index 90a906819c040329bd7e4c00d068cb670f01e419..2c309289fa9e34d570dd29de853453195e5ffdb8 100644 (file)
@@ -8969,7 +8969,7 @@ static void usage(void)
                        set_dyn_CONFIGFILE(getenv("SMB_CONF_PATH"));
                }
        }
-       lp_load(get_dyn_CONFIGFILE(),True,False,False,True);
+       lp_load_global(get_dyn_CONFIGFILE());
        load_interfaces();
 
        if (argc < 2) {