summaryrefslogtreecommitdiff
path: root/sys/msdosfs
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-10-27 19:16:18 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-10-27 19:16:18 +0000
commit18191ac069de4d6f4a8bc87c76496d8d3a2dd556 (patch)
treee9bd4d2ba0dc5c43c9883dc044b18b3e474db074 /sys/msdosfs
parent13549ad393b8005d6a5f015d005061c6cc074bdd (diff)
improve the look of a for loop
Diffstat (limited to 'sys/msdosfs')
-rw-r--r--sys/msdosfs/msdosfs_denode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/msdosfs/msdosfs_denode.c b/sys/msdosfs/msdosfs_denode.c
index 9b7739fa62e..a746e145b1e 100644
--- a/sys/msdosfs/msdosfs_denode.c
+++ b/sys/msdosfs/msdosfs_denode.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: msdosfs_denode.c,v 1.40 2010/09/10 16:34:08 thib Exp $ */
+/* $OpenBSD: msdosfs_denode.c,v 1.41 2010/10/27 19:16:17 deraadt Exp $ */
/* $NetBSD: msdosfs_denode.c,v 1.23 1997/10/17 11:23:58 ws Exp $ */
/*-
@@ -91,7 +91,7 @@ msdosfs_hashget(dev_t dev, uint32_t dirclust, uint32_t diroff)
struct proc *p = curproc; /* XXX */
for (;;)
- for (dep = dehashtbl[DEHASH(dev, dirclust, diroff)];;
+ for (dep = dehashtbl[DEHASH(dev, dirclust, diroff)]; ;
dep = dep->de_next) {
if (dep == NULL)
return (NULL);