Mercurial > projects > dstress
changeset 681:be27bc9d0d28
gentoo fixes
author | thomask |
---|---|
date | Sat, 24 Sep 2005 19:51:27 +0000 |
parents | 7242b6a90eb2 |
children | 8a97cee4e7a0 |
files | dstress.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/dstress.c Thu Sep 22 15:44:32 2005 +0000 +++ b/dstress.c Sat Sep 24 19:51:27 2005 +0000 @@ -30,6 +30,7 @@ #include <stdio.h> #include <string.h> #include <errno.h> +#include <ctype.h> #define RUN 1 #define NORUN 2 @@ -726,7 +727,7 @@ /* test 2/3 - run */ buffer = malloc(strlen(case_file) + strlen(TLOG) + 30); - sprintf(buffer, "%s.exe 1> %s 2>&1\x00\n", case_file, TLOG); + sprintf(buffer, "%s.exe 1> %s 2>&1\n", case_file, TLOG); fprintf(stderr, "%s\n", buffer); res=crashRun(buffer);