summaryrefslogtreecommitdiff
path: root/sys/man/2
diff options
context:
space:
mode:
authorspew <devnull@localhost>2016-12-22 18:44:45 -0600
committerspew <devnull@localhost>2016-12-22 18:44:45 -0600
commit6187b862b7d9ffc7baf3ed2fb2a203f1815a2e25 (patch)
tree150a0b1a31b520cb9298064d3fae0f480a243354 /sys/man/2
parent0885ed1e8098c7f1cd54ff528d1b5b56d670e756 (diff)
avl: fix man page example
Diffstat (limited to 'sys/man/2')
-rw-r--r--sys/man/2/avl4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/man/2/avl b/sys/man/2/avl
index fde1cead1..ddc7a7b92 100644
--- a/sys/man/2/avl
+++ b/sys/man/2/avl
@@ -95,12 +95,12 @@ nodecmp(Avl *la, Avl *lb)
}
int
-get(char *key)
+get(Avltree *t, char *key)
{
Node *h, n;
n.key = key;
- h = (Node*)avllookup(&n);
+ h = (Node*)avllookup(t, &n);
return h ? h->val : -1;
}
\fI\&...\fP