summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/gen/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libc/gen/tree.c b/lib/libc/gen/tree.c
index e647a795dd7..964d8f0a250 100644
--- a/lib/libc/gen/tree.c
+++ b/lib/libc/gen/tree.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tree.c,v 1.1 2017/06/19 03:06:26 dlg Exp $ */
+/* $OpenBSD: tree.c,v 1.2 2018/10/09 08:28:43 dlg Exp $ */
/*
* Copyright 2002 Niels Provos <provos@citi.umich.edu>
@@ -346,7 +346,7 @@ rbe_remove(const struct rb_type *t, struct rb_tree *rbt, struct rb_entry *rbe)
else
RBE_RIGHT(tmp) = rbe;
- rbe_if_augment(t, parent);
+ rbe_if_augment(t, tmp);
} else
RBH_ROOT(rbt) = rbe;