summaryrefslogtreecommitdiff
path: root/source/torture/torture.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/torture/torture.c')
-rw-r--r--source/torture/torture.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/torture/torture.c b/source/torture/torture.c
index f59da14b795..11cea53188f 100644
--- a/source/torture/torture.c
+++ b/source/torture/torture.c
@@ -18,8 +18,6 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#define NO_SYSLOG
-
#include "includes.h"
extern char *optarg;
@@ -715,7 +713,7 @@ static BOOL run_netbench(int client)
nb_setup(cli);
- slprintf(cname,sizeof(fname), "client%d", client);
+ slprintf(cname,sizeof(cname)-1, "client%d", client);
f = fopen(client_txt, "r");