diff options
author | phk <phk@FreeBSD.org> | 2000-12-30 21:02:25 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-12-30 21:02:25 +0000 |
commit | 7fd96a9db33fa7d84ed0b1bc4e57a4d42268145a (patch) | |
tree | ab6162eb92ea6b9ead165f0f9101ad3c12e0c620 /usr.bin/doscmd | |
parent | 8211e35e910df6acf5a46354fb40e441cd2bf9e0 (diff) | |
download | FreeBSD-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.c | 2 |
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) { |