summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dieter Wallnöfer <mwallnoefer@yahoo.de>2009-10-17 22:39:15 +0200
committerAndrew Bartlett <abartlet@samba.org>2009-10-22 10:02:27 +1100
commit24bca52c0baafa10ceaf657d7165acea250281bc (patch)
treea02106867b347178e4d98104e7fb41329795baab
parent925a94b67c83fb9a0d762f6b11740d1091623f7c (diff)
downloadsamba-24bca52c0baafa10ceaf657d7165acea250281bc.tar.gz
samba-24bca52c0baafa10ceaf657d7165acea250281bc.tar.bz2
samba-24bca52c0baafa10ceaf657d7165acea250281bc.zip
s4:smbtorture - Add "const" before "value"
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
-rw-r--r--source4/torture/smbtorture.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/smbtorture.c b/source4/torture/smbtorture.c
index 2899c87698..efb92d28a1 100644
--- a/source4/torture/smbtorture.c
+++ b/source4/torture/smbtorture.c
@@ -510,7 +510,7 @@ int main(int argc,char *argv[])
{
char *option = talloc_asprintf(NULL, "torture:extra_user%u",
++num_extra_users);
- char *value = poptGetOptArg(pc);
+ const char *value = poptGetOptArg(pc);
lp_set_cmdline(cmdline_lp_ctx, option, value);
talloc_free(option);
}