summaryrefslogtreecommitdiff
path: root/source3/locking
diff options
context:
space:
mode:
Diffstat (limited to 'source3/locking')
-rw-r--r--source3/locking/brlock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/locking/brlock.c b/source3/locking/brlock.c
index ae8a126ce4..2e08ce64ef 100644
--- a/source3/locking/brlock.c
+++ b/source3/locking/brlock.c
@@ -933,7 +933,7 @@ NTSTATUS brl_lock(struct messaging_context *msg_ctx,
#ifdef DEVELOPER
/* Quieten valgrind on test. */
- memset(&lock, '\0', sizeof(lock));
+ ZERO_STRUCT(lock);
#endif
lock.context.smblctx = smblctx;