summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2000-12-30 21:02:25 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2000-12-30 21:02:25 +0000
commitbaba280c6896273b66e41dbc423b1740db19885d (patch)
tree5dca0c97104aeb1168967dbf6adee16dce6cef78
parent2673ed47250e5d7eaeaa4f038a34ffb78eb17326 (diff)
Notes
-rw-r--r--usr.bin/doscmd/callback.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/doscmd/callback.c b/usr.bin/doscmd/callback.c
index 890c7142d454..b495788c9aa4 100644
--- a/usr.bin/doscmd/callback.c
+++ b/usr.bin/doscmd/callback.c
@@ -51,7 +51,7 @@ find_callback(u_long vec)
struct callback *elm;
head = &cbhead[CBHASH(vec)];
- for (elm = head->lh_first; elm; elm = elm->chain.le_next)
+ LIST_FOREACH(elm, head, chain)
if (elm->vec == vec)
break;
if (elm) {