summaryrefslogtreecommitdiff
path: root/source4/torture/nbench
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture/nbench')
-rw-r--r--source4/torture/nbench/nbench.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/torture/nbench/nbench.c b/source4/torture/nbench/nbench.c
index 05c889d1b7..b96a32b30e 100644
--- a/source4/torture/nbench/nbench.c
+++ b/source4/torture/nbench/nbench.c
@@ -99,9 +99,10 @@ again:
line[strlen(line)-1] = 0;
}
- all_string_sub(line,"client1", cname, sizeof(line));
+ all_string_sub(line, "client1", cname, sizeof(line));
- params = params0 = str_list_make_shell(NULL, line, " ");
+ params = params0 = const_str_list(
+ str_list_make_shell(NULL, line, " "));
i = str_list_length(params);
if (i > 0 && isdigit(params[0][0])) {