diff options
author | Jeremy Allison <jra@samba.org> | 2001-10-19 23:56:21 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2001-10-19 23:56:21 +0000 |
commit | 07f54cb59270e2c3168ab2bb3e73e7a8d8563843 (patch) | |
tree | 4e59ebf3fc8381265966b9d4431e0b4ab0f14b70 /source3/locking | |
parent | bc0643b47c74eb04de37d1247249159a86f3579f (diff) | |
download | samba-07f54cb59270e2c3168ab2bb3e73e7a8d8563843.tar.gz samba-07f54cb59270e2c3168ab2bb3e73e7a8d8563843.tar.bz2 samba-07f54cb59270e2c3168ab2bb3e73e7a8d8563843.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.
(This used to be commit eac6bbd24ebf00b35e50953bc11186111dc39059)
Diffstat (limited to 'source3/locking')
-rw-r--r-- | source3/locking/locking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c index 70995da3e2..ca57bd6b8f 100644 --- a/source3/locking/locking.c +++ b/source3/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++; |