mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
s3-debug Impove setup_logging() to specify logging to stderr
This change improves the setup_logging() API so that callers which wish to set up logging to stderr can simply ask for it, rather than directly modify the dbf global variable. Andrew Bartlett
This commit is contained in:
@ -584,7 +584,7 @@ int main(int argc, char **argv)
|
||||
|
||||
local_flags = process_options(argc, argv, local_flags);
|
||||
|
||||
setup_logging("smbpasswd", True);
|
||||
setup_logging("smbpasswd", DEBUG_STDERR);
|
||||
|
||||
/*
|
||||
* Set the machine NETBIOS name if not already
|
||||
|
Reference in New Issue
Block a user