summaryrefslogtreecommitdiff
path: root/source4/utils
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/utils
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/utils')
-rw-r--r--source4/utils/nmblookup.c2
-rw-r--r--source4/utils/pdbedit.c2
-rw-r--r--source4/utils/rpccheck.c2
-rw-r--r--source4/utils/smbcacls.c2
-rw-r--r--source4/utils/smbcontrol.c2
-rw-r--r--source4/utils/smbfilter.c2
-rw-r--r--source4/utils/smbgroupedit.c2
-rw-r--r--source4/utils/smbpasswd.c2
-rw-r--r--source4/utils/smbtree.c2
-rw-r--r--source4/utils/status.c2
-rw-r--r--source4/utils/testparm.c2
-rw-r--r--source4/utils/testprns.c2
12 files changed, 12 insertions, 12 deletions
diff --git a/source4/utils/nmblookup.c b/source4/utils/nmblookup.c
index 143d2ddd12..a2ec19d74d 100644
--- a/source4/utils/nmblookup.c
+++ b/source4/utils/nmblookup.c
@@ -222,7 +222,7 @@ int main(int argc,char *argv[])
*lookup = 0;
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
while ((opt = getopt(argc, argv, "d:fB:U:i:s:SMrhART")) != EOF)
switch (opt)
diff --git a/source4/utils/pdbedit.c b/source4/utils/pdbedit.c
index cec3e70687..15e0b50fa9 100644
--- a/source4/utils/pdbedit.c
+++ b/source4/utils/pdbedit.c
@@ -513,7 +513,7 @@ int main (int argc, char **argv)
{0,0,0,0}
};
- setup_logging("pdbedit", True);
+ setup_logging("pdbedit", DEBUG_STDOUT);
pc = poptGetContext(NULL, argc, (const char **) argv, long_options,
POPT_CONTEXT_KEEP_FIRST);
diff --git a/source4/utils/rpccheck.c b/source4/utils/rpccheck.c
index ae109f69b6..dd357794fe 100644
--- a/source4/utils/rpccheck.c
+++ b/source4/utils/rpccheck.c
@@ -35,7 +35,7 @@ main()
ZERO_STRUCT(rpc_stub);
- setup_logging("", True);
+ setup_logging("", DEBUG_STDOUT);
DEBUGLEVEL=10;
ctx=talloc_init("main");
diff --git a/source4/utils/smbcacls.c b/source4/utils/smbcacls.c
index 4c85ea58c2..41dc24f846 100644
--- a/source4/utils/smbcacls.c
+++ b/source4/utils/smbcacls.c
@@ -789,7 +789,7 @@ You can string acls together with spaces, commas or newlines\n\
exit(EXIT_PARSE_ERROR);
}
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
share = argv[1];
pstrcpy(filename, argv[2]);
diff --git a/source4/utils/smbcontrol.c b/source4/utils/smbcontrol.c
index 0861eb5c5a..d715163ebb 100644
--- a/source4/utils/smbcontrol.c
+++ b/source4/utils/smbcontrol.c
@@ -656,7 +656,7 @@ static BOOL do_command(char *dest, char *msg_name, int iparams, char **params)
AllowDebugChange = False;
DEBUGLEVEL = 0;
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
if (argc < 2) usage(True);
diff --git a/source4/utils/smbfilter.c b/source4/utils/smbfilter.c
index 1a0d639f02..9f240c31ca 100644
--- a/source4/utils/smbfilter.c
+++ b/source4/utils/smbfilter.c
@@ -222,7 +222,7 @@ int main(int argc, char *argv[])
char *desthost;
pstring configfile;
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
pstrcpy(configfile,dyn_CONFIGFILE);
diff --git a/source4/utils/smbgroupedit.c b/source4/utils/smbgroupedit.c
index 69f69aea5d..edbee6cef2 100644
--- a/source4/utils/smbgroupedit.c
+++ b/source4/utils/smbgroupedit.c
@@ -271,7 +271,7 @@ int main (int argc, char **argv)
enum SID_NAME_USE sid_type;
uint32 rid = -1;
- setup_logging("groupedit", True);
+ setup_logging("groupedit", DEBUG_STDOUT);
if (argc < 2) {
usage();
diff --git a/source4/utils/smbpasswd.c b/source4/utils/smbpasswd.c
index 577e467fbd..743023afd7 100644
--- a/source4/utils/smbpasswd.c
+++ b/source4/utils/smbpasswd.c
@@ -580,7 +580,7 @@ int main(int argc, char **argv)
local_flags = process_options(argc, argv, local_flags);
- setup_logging("smbpasswd", True);
+ setup_logging("smbpasswd", DEBUG_STDOUT);
/*
* Set the machine NETBIOS name if not already
diff --git a/source4/utils/smbtree.c b/source4/utils/smbtree.c
index ff6120ee90..eeb7b318cb 100644
--- a/source4/utils/smbtree.c
+++ b/source4/utils/smbtree.c
@@ -281,7 +281,7 @@ static BOOL print_tree(struct user_auth_info *user_info)
dbf = x_stderr;
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
lp_load(dyn_CONFIGFILE,True,False,False);
load_interfaces();
diff --git a/source4/utils/status.c b/source4/utils/status.c
index 76b9253646..c28b0a41fd 100644
--- a/source4/utils/status.c
+++ b/source4/utils/status.c
@@ -567,7 +567,7 @@ static int traverse_sessionid(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, vo
POPT_TABLEEND
};
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
dbf = x_stderr;
diff --git a/source4/utils/testparm.c b/source4/utils/testparm.c
index b68deaaa5d..fdfb6cb426 100644
--- a/source4/utils/testparm.c
+++ b/source4/utils/testparm.c
@@ -218,7 +218,7 @@ int main(int argc, const char *argv[])
while((opt = poptGetNextOpt(pc)) != -1);
- setup_logging(poptGetArg(pc), True);
+ setup_logging(poptGetArg(pc), DEBUG_STDOUT);
if (poptPeekArg(pc))
config_file = poptGetArg(pc);
diff --git a/source4/utils/testprns.c b/source4/utils/testprns.c
index 7e52b86afb..07c4498038 100644
--- a/source4/utils/testprns.c
+++ b/source4/utils/testprns.c
@@ -36,7 +36,7 @@ int main(int argc, char *argv[])
{
const char *pszTemp;
- setup_logging(argv[0],True);
+ setup_logging(argv[0], DEBUG_STDOUT);
if (argc < 2 || argc > 3)
printf("Usage: testprns printername [printcapfile]\n");