diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-12-30 21:02:25 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2000-12-30 21:02:25 +0000 |
| commit | baba280c6896273b66e41dbc423b1740db19885d (patch) | |
| tree | 5dca0c97104aeb1168967dbf6adee16dce6cef78 | |
| parent | 2673ed47250e5d7eaeaa4f038a34ffb78eb17326 (diff) | |
Notes
| -rw-r--r-- | usr.bin/doscmd/callback.c | 2 |
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) { |
