summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-08-15 18:33:43 +0000
committerAndrew Tridgell <tridge@samba.org>2003-08-15 18:33:43 +0000
commit8e4ab747b02207671203d40cd2a78692da78faef (patch)
treec4ebd704ba8a88f67513a61f4e4e5e11e78d6132 /source4/torture
parentefacfb37fc0d7310c72c40bfed4b52ecaf365b11 (diff)
downloadsamba-8e4ab747b02207671203d40cd2a78692da78faef.tar.gz
samba-8e4ab747b02207671203d40cd2a78692da78faef.tar.bz2
samba-8e4ab747b02207671203d40cd2a78692da78faef.zip
more fixes from the IRIX compiler (thanks herb!)
(This used to be commit 4cf3839b727c77a727abb558bd9473119a092913)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/gentest.c4
-rw-r--r--source4/torture/locktest.c2
-rw-r--r--source4/torture/locktest2.c2
-rw-r--r--source4/torture/masktest.c2
-rw-r--r--source4/torture/msgtest.c2
-rw-r--r--source4/torture/rpctorture.c2
-rw-r--r--source4/torture/torture.c2
7 files changed, 8 insertions, 8 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c
index 4711ea91ae..e914f98588 100644
--- a/source4/torture/gentest.c
+++ b/source4/torture/gentest.c
@@ -2113,7 +2113,7 @@ static void usage(void)
exit(1);
}
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
for (i=0;i<NSERVERS;i++) {
const char *share = argv[1+i];
@@ -2147,7 +2147,7 @@ static void usage(void)
break;
case 'd':
DEBUGLEVEL = atoi(optarg);
- setup_logging(NULL,True);
+ setup_logging(NULL, DEBUG_STDOUT);
break;
case 's':
options.seed = atoi(optarg);
diff --git a/source4/torture/locktest.c b/source4/torture/locktest.c
index 26bf6d62dd..cd66bab58e 100644
--- a/source4/torture/locktest.c
+++ b/source4/torture/locktest.c
@@ -465,7 +465,7 @@ static void usage(void)
exit(1);
}
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
for (server=0;server<NSERVERS;server++) {
share[server] = argv[1+server];
diff --git a/source4/torture/locktest2.c b/source4/torture/locktest2.c
index 17435afb4c..ac48da58b9 100644
--- a/source4/torture/locktest2.c
+++ b/source4/torture/locktest2.c
@@ -493,7 +493,7 @@ static void usage(void)
all_string_sub(share1,"/","\\",0);
all_string_sub(share2,"/","\\",0);
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
argc -= 4;
argv += 4;
diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c
index 15bc080893..f8d19697cb 100644
--- a/source4/torture/masktest.c
+++ b/source4/torture/masktest.c
@@ -380,7 +380,7 @@ static void usage(void)
all_string_sub(share,"/","\\",0);
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
argc -= 1;
argv += 1;
diff --git a/source4/torture/msgtest.c b/source4/torture/msgtest.c
index 952aa46bfe..fa21aa307c 100644
--- a/source4/torture/msgtest.c
+++ b/source4/torture/msgtest.c
@@ -39,7 +39,7 @@ void pong_message(int msg_type, pid_t src, void *buf, size_t len)
int i, n;
char buf[12];
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
lp_load(dyn_CONFIGFILE,False,False,False);
diff --git a/source4/torture/rpctorture.c b/source4/torture/rpctorture.c
index 04656e71d1..284943c612 100644
--- a/source4/torture/rpctorture.c
+++ b/source4/torture/rpctorture.c
@@ -282,7 +282,7 @@ enum client_action
smb_cli->nt_pipe_fnum = 0xffff;
- setup_logging(pname, True);
+ setup_logging(pname, DEBUG_STDOUT);
password[0] = 0;
diff --git a/source4/torture/torture.c b/source4/torture/torture.c
index bf46c888b2..1ec73e0dff 100644
--- a/source4/torture/torture.c
+++ b/source4/torture/torture.c
@@ -4113,7 +4113,7 @@ static void usage(void)
break;
case 'd':
lp_set_cmdline("debug level", optarg);
- setup_logging(NULL,True);
+ setup_logging(NULL, DEBUG_STDOUT);
break;
case 'O':
lp_set_cmdline("socket options", optarg);