diff options
| -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) { |
