summaryrefslogtreecommitdiffstats
path: root/source/locking/locking_shm.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1999-02-01 21:03:43 +0000
committerJeremy Allison <jra@samba.org>1999-02-01 21:03:43 +0000
commit71fa7753a8515e75f0e7ccb36b3d367fbdc42b0b (patch)
treed909d6e90116f76e7ba30bc8b946341690dad7db /source/locking/locking_shm.c
parent80d912f31e6f5c0794f51b18b35a8946736c725e (diff)
downloadsamba-71fa7753a8515e75f0e7ccb36b3d367fbdc42b0b.tar.gz
samba-71fa7753a8515e75f0e7ccb36b3d367fbdc42b0b.tar.xz
samba-71fa7753a8515e75f0e7ccb36b3d367fbdc42b0b.zip
locking/locking_shm.c: Added printf to help track down negative share mode problem.
printing/print_svid.c: Fix for DG/UX lpstat. smbd/dfree.c: Added 'max_four_gig' parameter to normalize to 4GB when asked (used to be the default). smbd/open.c smbd/reply.c smbd/trans2.c: Changed to allow a <4GB volume size to be returned on a trans2 qfsinfo level 1 call. NT clients refuse to do the correct call to Samba servers (Herb recons it's the unicode bit) - this allows even a level 1 to return a volume size up to 9444732961341243916800 bytes (should be enough for now, until we get the unicode support added :-). Jeremy.
Diffstat (limited to 'source/locking/locking_shm.c')
-rw-r--r--source/locking/locking_shm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/locking/locking_shm.c b/source/locking/locking_shm.c
index 8429ab8f7b1..5d0fc2dbf66 100644
--- a/source/locking/locking_shm.c
+++ b/source/locking/locking_shm.c
@@ -165,7 +165,7 @@ static int shm_get_share_modes(connection_struct *conn,
malloc(num_entries * sizeof(share_mode_entry));
if(*old_shares == 0)
{
- DEBUG(0,("get_share_modes: malloc fail!\n"));
+ DEBUG(0,("get_share_modes: malloc fail for size 0x%x!\n", num_entries * sizeof(share_mode_entry)));
return 0;
}
}