summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-27 17:20:05 +0200
committerMichael Adam <obnox@samba.org>2011-07-28 11:17:34 +0200
commitc32479f5843b73fc40a22a2975bbece0ddbcf168 (patch)
treeb87106eb285612dfb3a3e9f8251e7a4804cab25f
parentecc487e0262d335759d25963eaa5444d9648c305 (diff)
downloadsamba-c32479f5843b73fc40a22a2975bbece0ddbcf168.tar.gz
samba-c32479f5843b73fc40a22a2975bbece0ddbcf168.tar.bz2
samba-c32479f5843b73fc40a22a2975bbece0ddbcf168.zip
s3:torture: use lp_load_global() in the strstr test
-rw-r--r--source3/torture/t_strstr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/torture/t_strstr.c b/source3/torture/t_strstr.c
index 49180b219f..69b88187d6 100644
--- a/source3/torture/t_strstr.c
+++ b/source3/torture/t_strstr.c
@@ -14,7 +14,7 @@ int main(int argc, char *argv[])
const char *ret = NULL;
/* Needed to initialize character set */
- lp_load("/dev/null", True, False, False, True);
+ lp_load_global("/dev/null");
if (argc < 3) {
fprintf(stderr, "usage: %s STRING1 STRING2 [ITERS]\n"