summaryrefslogtreecommitdiff
path: root/source3/utils/status.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-03-22 01:31:50 +0000
committerAndrew Tridgell <tridge@samba.org>1998-03-22 01:31:50 +0000
commit93b3c5813638d37f53717ec42feff408b8765e23 (patch)
tree01922742a79260410fb9cc8c26296efe8908d87d /source3/utils/status.c
parentbee4067bd4771ee7883ab6365e91df86a1230618 (diff)
downloadsamba-93b3c5813638d37f53717ec42feff408b8765e23.tar.gz
samba-93b3c5813638d37f53717ec42feff408b8765e23.tar.bz2
samba-93b3c5813638d37f53717ec42feff408b8765e23.zip
- added a check for broken RH5 include files. With the standard RH5
includes (ie. unpatched RH5) Samba gets file corruption because of the incorrect definition of the shmid_ds structure. Updating your RH5 installation of glibc-devel fixes this. - don't try to fcntl_lock() a read-only fd in shmem.c - allow level 0 debug messages to get through in smbstatus (This used to be commit 45553771f90087a12db0153524146d42155d1d3f)
Diffstat (limited to 'source3/utils/status.c')
-rw-r--r--source3/utils/status.c2
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");