summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2012-02-20 16:00:50 +0100
committerVolker Lendecke <vl@samba.org>2012-02-22 15:48:06 +0100
commitdb17767d4d1e7ddccab899346d0374095389e370 (patch)
tree81ce530f7421e072c69f8b78d011e2ac5c234630 /source3
parent77889f63e6cf66553e615dbe9a4eba09ad046553 (diff)
downloadsamba-db17767d4d1e7ddccab899346d0374095389e370.tar.gz
samba-db17767d4d1e7ddccab899346d0374095389e370.tar.bz2
samba-db17767d4d1e7ddccab899346d0374095389e370.zip
s3: Add an error msg when a share mode entry is discarded
Diffstat (limited to 'source3')
-rw-r--r--source3/locking/share_mode_lock.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/locking/share_mode_lock.c b/source3/locking/share_mode_lock.c
index 2152591ed2..de8cc3ce8b 100644
--- a/source3/locking/share_mode_lock.c
+++ b/source3/locking/share_mode_lock.c
@@ -176,6 +176,8 @@ static struct share_mode_data *parse_share_modes(TALLOC_CTX *mem_ctx,
while (i < d->num_share_modes) {
struct share_mode_entry *e = &d->share_modes[i];
if (!pid_exists[i]) {
+ DEBUG(10, ("wipe non-existent pid %s\n",
+ procid_str_static(&e->pid)));
*e = d->share_modes[d->num_share_modes-1];
d->num_share_modes -= 1;
d->modified = True;