- added a check for broken RH5 include files. With the standard RH5
[kai/samba.git] / source3 / utils / status.c
index f99fe9e5618ea12a85cacfe357bfaa1acbeeedf8..40bafbe0c275c9ba367e48d2456085f1f66f09b1 100644 (file)
@@ -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");