summaryrefslogtreecommitdiffstats
path: root/source/locking/locking.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2001-10-19 23:56:21 +0000
committerJeremy Allison <jra@samba.org>2001-10-19 23:56:21 +0000
commiteac6bbd24ebf00b35e50953bc11186111dc39059 (patch)
tree9692fd1367dce3f1802d4bd2035f681eb83a9378 /source/locking/locking.c
parentdac22352cf051f301edf066cac8db81d24c7c459 (diff)
downloadsamba-eac6bbd24ebf00b35e50953bc11186111dc39059.tar.gz
samba-eac6bbd24ebf00b35e50953bc11186111dc39059.tar.xz
samba-eac6bbd24ebf00b35e50953bc11186111dc39059.zip
Ensure we mask off deny modes correctly on being set (this shouldn't have
caused problems but is tidier). Fix debug statement in locking.c Jeremy.
Diffstat (limited to 'source/locking/locking.c')
-rw-r--r--source/locking/locking.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/locking/locking.c b/source/locking/locking.c
index 70995da3e22..ca57bd6b8f3 100644
--- a/source/locking/locking.c
+++ b/source/locking/locking.c
@@ -483,7 +483,7 @@ ssize_t del_share_entry( SMB_DEV_T dev, SMB_INO_T inode,
* from the record.
*/
- DEBUG(10,("del_share_mode: num_share_modes = %d\n", data->u.num_share_mode_entries ));
+ DEBUG(10,("del_share_entry: num_share_modes = %d\n", data->u.num_share_mode_entries ));
for (i=0;i<data->u.num_share_mode_entries;) {
if (share_modes_identical(&shares[i], entry)) {
@@ -494,7 +494,7 @@ ssize_t del_share_entry( SMB_DEV_T dev, SMB_INO_T inode,
dbuf.dsize - (sizeof(*data) + (i+1)*sizeof(*shares)));
del_count++;
- DEBUG(10,("del_share_mode: deleting entry %d\n", i ));
+ DEBUG(10,("del_share_entry: deleting entry %d\n", i ));
} else {
i++;