summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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