Fix ndrdump to use a common setup_logging() API
[metze/samba/wip.git] / librpc / tools / ndrdump.c
index 69b304dc9c078f081d6629065f2a1e677574273e..7126d26c5997bc6d93b58202a7b4722d1068e9e6 100644 (file)
@@ -179,7 +179,7 @@ static void ndrdump_data(uint8_t *d, uint32_t l, bool force)
 
        dbf = x_stderr;
 
-       setup_logging(argv[0], true);
+       setup_logging_stdout();
 
        pc = poptGetContext("ndrdump", argc, argv, long_options, 0);