diff options
author | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1998-09-03 15:50:33 +0000 |
---|---|---|
committer | Constantine Sapuntzakis <csapuntz@cvs.openbsd.org> | 1998-09-03 15:50:33 +0000 |
commit | b34ed115db5e55426b0cc700e0a0e692583a4653 (patch) | |
tree | f78a5b2eb0654b7316379da7fd0fd1072930d835 /sys | |
parent | 299425510f015c54d5b5fd3bfd82d813d628ea62 (diff) |
Correct loop termination for adosfs_ihashget
Diffstat (limited to 'sys')
-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); |