diff options
author | 1998-09-03 15:50:32 +0000 | |
---|---|---|
committer | 1998-09-03 15:50:32 +0000 | |
commit | 0625b2de1e5608b8e73d8f60ead9b45df5f961b2 (patch) | |
tree | 536726718a5170ec97e7921e8311c83713b5f897 | |
parent | Missed from if_media: add SIOC{G,S}IFMEDIA (diff) | |
download | wireguard-openbsd-0625b2de1e5608b8e73d8f60ead9b45df5f961b2.tar.xz wireguard-openbsd-0625b2de1e5608b8e73d8f60ead9b45df5f961b2.zip |
Correct loop termination for adosfs_ihashget
-rw-r--r-- | sys/adosfs/adutil.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/adosfs/adutil.c b/sys/adosfs/adutil.c index 6449f0af4fa..6ef8b88f124 100644 --- a/sys/adosfs/adutil.c +++ b/sys/adosfs/adutil.c @@ -1,4 +1,4 @@ -/* $OpenBSD: adutil.c,v 1.11 1998/08/21 23:03:14 csapuntz Exp $ */ +/* $OpenBSD: adutil.c,v 1.12 1998/09/03 15:50:32 csapuntz Exp $ */ /* $NetBSD: adutil.c,v 1.15 1996/10/13 02:52:07 christos Exp $ */ /* @@ -97,7 +97,7 @@ adosfs_ainshash(amp, ap) hp = &->anodetab[AHASH(ap->block)]; - for (aq = hp->lh_first; ; aq = aq->link.le_next) { + for (aq = hp->lh_first; aq ; aq = aq->link.le_next) { if (aq->block == ap->block) { lockmgr(&ap->a_lock, LK_RELEASE, (struct simplelock *)0, p); |