summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/smbtorture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c
index b47127ff3f..41ee1461d1 100644
--- a/source4/torture/smbtorture.c
+++ b/source4/torture/smbtorture.c
@@ -438,7 +438,7 @@ void run_recipe(struct torture_context *tctx, const char *recipe)
for (i = 0; i < numlines; i++) {
int argc;
- char **argv;
+ const char **argv;
ret = poptParseArgvString(lines[i], &argc, &argv);
if (ret != 0) {
@@ -456,7 +456,7 @@ void run_shell(struct torture_context *tctx)
{
char *cline;
int argc;
- char **argv;
+ const char **argv;
int ret;
while (1) {