summaryrefslogtreecommitdiffstats
path: root/source/locking
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2008-05-27 11:23:59 -0700
committerJeremy Allison <jra@samba.org>2008-05-27 11:25:46 -0700
commit7eeed8bb41059ec2bddedb6a71deddeec7f33af2 (patch)
treed7f2519a9e09d628b2fbbdedd3cd926ab087d5b8 /source/locking
parent94090f196a400651314530324e86c374f5a05657 (diff)
downloadsamba-7eeed8bb41059ec2bddedb6a71deddeec7f33af2.tar.gz
samba-7eeed8bb41059ec2bddedb6a71deddeec7f33af2.tar.xz
samba-7eeed8bb41059ec2bddedb6a71deddeec7f33af2.zip
Allow server manager to close open files selected by id.
Jeremy.
Diffstat (limited to 'source/locking')
-rw-r--r--source/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/locking/locking.c b/source/locking/locking.c
index 17131d9194b..accd3f70144 100644
--- a/source/locking/locking.c
+++ b/source/locking/locking.c
@@ -443,7 +443,7 @@ static TDB_DATA locking_key(const struct file_id *id, struct file_id *tmp)
Print out a share mode.
********************************************************************/
-char *share_mode_str(TALLOC_CTX *ctx, int num, struct share_mode_entry *e)
+char *share_mode_str(TALLOC_CTX *ctx, int num, const struct share_mode_entry *e)
{
return talloc_asprintf(ctx, "share_mode_entry[%d]: %s "
"pid = %s, share_access = 0x%x, private_options = 0x%x, "