summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorDavid Disseldorp <ddiss@samba.org>2012-09-20 08:20:57 +0200
committerDavid Disseldorp <ddiss@samba.org>2012-09-20 19:02:53 +0200
commit47becf6e20a970d273afab8be176d8cbe5ab2b9c (patch)
tree230b9bd5a3c3f6321c6b6df03e217b6a6998d81a /source3/modules
parent48e6da64fd6cdd055008c7d3e42e8245435f422e (diff)
downloadsamba-47becf6e20a970d273afab8be176d8cbe5ab2b9c.tar.gz
samba-47becf6e20a970d273afab8be176d8cbe5ab2b9c.tar.bz2
samba-47becf6e20a970d273afab8be176d8cbe5ab2b9c.zip
vfs: fix lock logging in vfs_full_audit
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_full_audit.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c
index 392baeadd0..7f8159f452 100644
--- a/source3/modules/vfs_full_audit.c
+++ b/source3/modules/vfs_full_audit.c
@@ -1649,7 +1649,7 @@ static NTSTATUS smb_full_audit_brl_lock_windows(struct vfs_handle_struct *handle
do_log(SMB_VFS_OP_BRL_LOCK_WINDOWS, NT_STATUS_IS_OK(result), handle,
"%s:%llu-%llu. type=%d. blocking=%d", fsp_str_do_log(br_lck->fsp),
- plock->start, plock->size, plock->lock_type, blocking_lock );
+ plock->start, plock->size, plock->lock_type, blocking_lock);
return result;
}
@@ -1682,7 +1682,7 @@ static bool smb_full_audit_brl_cancel_windows(struct vfs_handle_struct *handle,
do_log(SMB_VFS_OP_BRL_CANCEL_WINDOWS, (result == 0), handle,
"%s:%llu-%llu:%d", fsp_str_do_log(br_lck->fsp), plock->start,
- plock->size);
+ plock->size, plock->lock_type);
return result;
}
@@ -1697,7 +1697,7 @@ static bool smb_full_audit_strict_lock(struct vfs_handle_struct *handle,
do_log(SMB_VFS_OP_STRICT_LOCK, result, handle,
"%s:%llu-%llu:%d", fsp_str_do_log(fsp), plock->start,
- plock->size);
+ plock->size, plock->lock_type);
return result;
}
@@ -1710,7 +1710,7 @@ static void smb_full_audit_strict_unlock(struct vfs_handle_struct *handle,
do_log(SMB_VFS_OP_STRICT_UNLOCK, true, handle,
"%s:%llu-%llu:%d", fsp_str_do_log(fsp), plock->start,
- plock->size);
+ plock->size, plock->lock_type);
}
static NTSTATUS smb_full_audit_translate_name(struct vfs_handle_struct *handle,