summaryrefslogtreecommitdiff
path: root/source3/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
commit6811dc3fc236e62f042e43efa500cc55346c29d6 (patch)
tree0f4cb174567fb6baf89bc4358435c90fba63d680 /source3/locking
parent7df9e11f156c01e0dce120120877b3dc4dc4f683 (diff)
downloadsamba-6811dc3fc236e62f042e43efa500cc55346c29d6.tar.gz
samba-6811dc3fc236e62f042e43efa500cc55346c29d6.tar.bz2
samba-6811dc3fc236e62f042e43efa500cc55346c29d6.zip
Allow server manager to close open files selected by id.
Jeremy. (This used to be commit 7eeed8bb41059ec2bddedb6a71deddeec7f33af2)
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/locking.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/locking.c b/source3/locking/locking.c
index 17131d9194..accd3f7014 100644
--- a/source3/locking/locking.c
+++ b/source3/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, "