summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2012-01-10 16:43:27 +0100
committerMichael Adam <obnox@samba.org>2012-02-16 12:07:32 +0100
commit83d0a860a1e881aee3679bc504756e7ae6879d7b (patch)
tree0240910f4df8b84f6b975a1f74f80f89b67fef56
parentb5b204184aa6d0f14e7d3bd08322a98dc4f432e6 (diff)
downloadsamba-83d0a860a1e881aee3679bc504756e7ae6879d7b.tar.gz
samba-83d0a860a1e881aee3679bc504756e7ae6879d7b.tar.xz
samba-83d0a860a1e881aee3679bc504756e7ae6879d7b.zip
s4-selftest: fix output of opened connections in torture_holdcon
Signed-off-by: Michael Adam <obnox@samba.org>
-rw-r--r--source4/torture/basic/misc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/torture/basic/misc.c b/source4/torture/basic/misc.c
index 0515988c147..213d9239509 100644
--- a/source4/torture/basic/misc.c
+++ b/source4/torture/basic/misc.c
@@ -198,7 +198,7 @@ bool torture_holdcon(struct torture_context *tctx)
return false;
}
if (torture_setting_bool(tctx, "progress", true)) {
- torture_comment(tctx, "opened %d connections\r", i);
+ torture_comment(tctx, "opened %d connections\r", i+1);
fflush(stdout);
}
}