s3-debug Impove setup_logging() to specify logging to stderr
[ira/wip.git] / source3 / utils / status.c
index ecfbf0613721a16739cfff4a609d610bbe797ca6..1ad2e9b1094d91e0f5c5326435aa96a066d3765f 100644 (file)
@@ -309,9 +309,7 @@ static int traverse_sessionid(const char *key, struct sessionid *session,
        sec_init();
        load_case_tables();
 
-       setup_logging(argv[0],True);
-
-       dbf = x_stderr;
+       setup_logging(argv[0], DEBUG_STDERR);
 
        if (getuid() != geteuid()) {
                d_printf("smbstatus should not be run setuid\n");