summaryrefslogtreecommitdiff
path: root/sys/man/2
diff options
context:
space:
mode:
authorspew <devnull@localhost>2016-12-24 17:58:31 -0600
committerspew <devnull@localhost>2016-12-24 17:58:31 -0600
commitff384cbddc6ef8802c30d86ec147165b73441c26 (patch)
tree823d7f07a2bffef9d374a2d6d8911459549b088c /sys/man/2
parent6187b862b7d9ffc7baf3ed2fb2a203f1815a2e25 (diff)
libavl: fix manpage example, minor improvement to code
Diffstat (limited to 'sys/man/2')
-rw-r--r--sys/man/2/avl2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/man/2/avl b/sys/man/2/avl
index ddc7a7b92..388b8b3f4 100644
--- a/sys/man/2/avl
+++ b/sys/man/2/avl
@@ -104,7 +104,7 @@ get(Avltree *t, char *key)
return h ? h->val : -1;
}
\fI\&...\fP
- Avltree *t = avlcreate(AVL, nodecmp);
+ Avltree *t = avlcreate(nodecmp);
.EE
.SH SOURCE