diff options
Diffstat (limited to 'source3/torture')
-rw-r--r-- | source3/torture/locktest.c | 4 | ||||
-rw-r--r-- | source3/torture/locktest2.c | 4 | ||||
-rw-r--r-- | source3/torture/masktest.c | 4 | ||||
-rw-r--r-- | source3/torture/rpctorture.c | 4 | ||||
-rw-r--r-- | source3/torture/torture.c | 4 |
5 files changed, 10 insertions, 10 deletions
diff --git a/source3/torture/locktest.c b/source3/torture/locktest.c index 0339576b11..bcae4fa924 100644 --- a/source3/torture/locktest.c +++ b/source3/torture/locktest.c @@ -545,7 +545,7 @@ static void usage(void) char *share[NSERVERS]; extern char *optarg; extern int optind; - extern FILE *dbf; + extern XFILE *dbf; int opt; char *p; int seed, server; @@ -553,7 +553,7 @@ static void usage(void) setlinebuf(stdout); - dbf = stderr; + dbf = x_stderr; if (argc < 3 || argv[1][0] == '-') { usage(); diff --git a/source3/torture/locktest2.c b/source3/torture/locktest2.c index ce988f0cc8..899310933f 100644 --- a/source3/torture/locktest2.c +++ b/source3/torture/locktest2.c @@ -533,7 +533,7 @@ static void usage(void) char *share1, *share2, *nfspath1, *nfspath2; extern char *optarg; extern int optind; - extern FILE *dbf; + extern XFILE *dbf; int opt; char *p; int seed; @@ -541,7 +541,7 @@ static void usage(void) setlinebuf(stdout); - dbf = stderr; + dbf = x_stderr; if (argc < 5 || argv[1][0] == '-') { usage(); diff --git a/source3/torture/masktest.c b/source3/torture/masktest.c index 93caf5d017..0e054b4703 100644 --- a/source3/torture/masktest.c +++ b/source3/torture/masktest.c @@ -420,7 +420,7 @@ static void usage(void) struct cli_state *cli; extern char *optarg; extern int optind; - extern FILE *dbf; + extern XFILE *dbf; int opt; char *p; int seed; @@ -428,7 +428,7 @@ static void usage(void) setlinebuf(stdout); - dbf = stderr; + dbf = x_stderr; if (argv[1][0] == '-' || argc < 2) { usage(); diff --git a/source3/torture/rpctorture.c b/source3/torture/rpctorture.c index 1708e9a860..5136a8e94b 100644 --- a/source3/torture/rpctorture.c +++ b/source3/torture/rpctorture.c @@ -229,7 +229,7 @@ enum client_action { char *pname = argv[0]; int opt; - extern FILE *dbf; + extern XFILE *dbf; extern char *optarg; extern int optind; static pstring servicesf = CONFIGFILE; @@ -412,7 +412,7 @@ enum client_action case 'E': { - dbf = stderr; + dbf = x_stderr; break; } diff --git a/source3/torture/torture.c b/source3/torture/torture.c index 912abf07f2..292a4d61e0 100644 --- a/source3/torture/torture.c +++ b/source3/torture/torture.c @@ -3077,11 +3077,11 @@ static void usage(void) int gotpass = 0; extern char *optarg; extern int optind; - extern FILE *dbf; + extern XFILE *dbf; static pstring servicesf = CONFIGFILE; BOOL correct = True; - dbf = stdout; + dbf = x_stdout; #ifdef HAVE_SETBUFFER setbuffer(stdout, NULL, 0); |