summaryrefslogtreecommitdiff
path: root/ctdb/common
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2017-02-18 08:46:28 +1300
committerGarming Sam <garming@samba.org>2017-02-22 08:26:21 +0100
commita4ab7c73bda018147ca4e8645352503c2382fb74 (patch)
treeeab7b9f6a6b63ef3d9fcd074d6d1fecac28e91fe /ctdb/common
parentf7dc9f1e12b2413d0be290e21986e22f57ab8b08 (diff)
downloadsamba-a4ab7c73bda018147ca4e8645352503c2382fb74.tar.gz
Correct "occured" typos.
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'ctdb/common')
-rw-r--r--ctdb/common/rb_tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ctdb/common/rb_tree.c b/ctdb/common/rb_tree.c
index 990ec6177eb..bacdea6c689 100644
--- a/ctdb/common/rb_tree.c
+++ b/ctdb/common/rb_tree.c
@@ -543,7 +543,7 @@ delete_node(trbt_node_t *node, bool from_destructor)
This is simple since this dummy node originally had no children
and we are guaranteed that it will also not have any children
after the node has been deleted and any possible rotations
- have occured.
+ have occurred.
The only special case is if this was the last node of the tree
in which case we have to reset the root to NULL as well.