summaryrefslogtreecommitdiffstats
path: root/usr.bin/doscmd
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-12-30 21:02:25 +0000
committerphk <phk@FreeBSD.org>2000-12-30 21:02:25 +0000
commit7fd96a9db33fa7d84ed0b1bc4e57a4d42268145a (patch)
treeab6162eb92ea6b9ead165f0f9101ad3c12e0c620 /usr.bin/doscmd
parent8211e35e910df6acf5a46354fb40e441cd2bf9e0 (diff)
downloadFreeBSD-src-7fd96a9db33fa7d84ed0b1bc4e57a4d42268145a.zip
FreeBSD-src-7fd96a9db33fa7d84ed0b1bc4e57a4d42268145a.tar.gz
Use macro API to <sys/queue.h>
Submitted by: "Jason" <jsmethers@pdq.net> Reviewed by: /sbin/md5
Diffstat (limited to 'usr.bin/doscmd')
-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 890c714..b495788 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) {
OpenPOWER on IntegriCloud