diff options
Diffstat (limited to 'source3/utils/status.c')
-rw-r--r-- | source3/utils/status.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/utils/status.c b/source3/utils/status.c index f99fe9e561..40bafbe0c2 100644 --- a/source3/utils/status.c +++ b/source3/utils/status.c @@ -120,7 +120,7 @@ static void print_share_mode(share_mode_entry *e, char *fname) charset_initialise(); DEBUGLEVEL = 0; - dbf = fopen("/dev/null","w"); + dbf = stderr; if (getuid() != geteuid()) { printf("smbstatus should not be run setuid\n"); |