summaryrefslogtreecommitdiff
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorTed Unangst <tedu@cvs.openbsd.org>2006-01-25 06:25:47 +0000
committerTed Unangst <tedu@cvs.openbsd.org>2006-01-25 06:25:47 +0000
commit90257e179b39086c73a06cb5def9554c354e00b4 (patch)
tree3ae812251789a6e9afaeaef391aeb7515ad099f6 /sbin/fsck_ffs
parent0603fdc4ea58afb3678b848ac8ed66c916143ebd (diff)
spell fall through as FALLTHROUGH
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/pass2.c6
-rw-r--r--sbin/fsck_ffs/pass4.c6
-rw-r--r--sbin/fsck_ffs/pass5.c6
-rw-r--r--sbin/fsck_ffs/utilities.c6
4 files changed, 12 insertions, 12 deletions
diff --git a/sbin/fsck_ffs/pass2.c b/sbin/fsck_ffs/pass2.c
index 7dea3a583e7..471021da924 100644
--- a/sbin/fsck_ffs/pass2.c
+++ b/sbin/fsck_ffs/pass2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pass2.c,v 1.22 2005/06/16 14:51:37 millert Exp $ */
+/* $OpenBSD: pass2.c,v 1.23 2006/01/25 06:25:46 tedu Exp $ */
/* $NetBSD: pass2.c,v 1.17 1996/09/27 22:45:15 christos Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pass2.c 8.6 (Berkeley) 10/27/94";
#else
-static const char rcsid[] = "$OpenBSD: pass2.c,v 1.22 2005/06/16 14:51:37 millert Exp $";
+static const char rcsid[] = "$OpenBSD: pass2.c,v 1.23 2006/01/25 06:25:46 tedu Exp $";
#endif
#endif /* not lint */
@@ -470,7 +470,7 @@ again:
}
if (idesc->id_entryno > 2)
inp->i_parent = idesc->id_number;
- /* fall through */
+ /* FALLTHROUGH */
case FSTATE:
if (newinofmt && dirp->d_type != typemap[dirp->d_ino]) {
diff --git a/sbin/fsck_ffs/pass4.c b/sbin/fsck_ffs/pass4.c
index 3ba285200b2..53103beab74 100644
--- a/sbin/fsck_ffs/pass4.c
+++ b/sbin/fsck_ffs/pass4.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pass4.c,v 1.12 2005/04/16 18:15:41 millert Exp $ */
+/* $OpenBSD: pass4.c,v 1.13 2006/01/25 06:25:46 tedu Exp $ */
/* $NetBSD: pass4.c,v 1.11 1996/09/27 22:45:17 christos Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pass4.c 8.1 (Berkeley) 6/5/93";
#else
-static const char rcsid[] = "$OpenBSD: pass4.c,v 1.12 2005/04/16 18:15:41 millert Exp $";
+static const char rcsid[] = "$OpenBSD: pass4.c,v 1.13 2006/01/25 06:25:46 tedu Exp $";
#endif
#endif /* not lint */
@@ -105,7 +105,7 @@ pass4(void)
clri(&idesc, "ZERO LENGTH", 1);
break;
}
- /* fall through */
+ /* FALLTHROUGH */
case FCLEAR:
clri(&idesc, "BAD/DUP", 1);
break;
diff --git a/sbin/fsck_ffs/pass5.c b/sbin/fsck_ffs/pass5.c
index e0061ee1932..b8432cc4d61 100644
--- a/sbin/fsck_ffs/pass5.c
+++ b/sbin/fsck_ffs/pass5.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pass5.c,v 1.20 2005/06/16 14:51:37 millert Exp $ */
+/* $OpenBSD: pass5.c,v 1.21 2006/01/25 06:25:46 tedu Exp $ */
/* $NetBSD: pass5.c,v 1.16 1996/09/27 22:45:18 christos Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)pass5.c 8.6 (Berkeley) 11/30/94";
#else
-static const char rcsid[] = "$OpenBSD: pass5.c,v 1.20 2005/06/16 14:51:37 millert Exp $";
+static const char rcsid[] = "$OpenBSD: pass5.c,v 1.21 2006/01/25 06:25:46 tedu Exp $";
#endif
#endif /* not lint */
@@ -235,7 +235,7 @@ pass5(void)
case DCLEAR:
case DFOUND:
newcg->cg_cs.cs_ndir++;
- /* fall through */
+ /* FALLTHROUGH */
case FSTATE:
case FCLEAR:
diff --git a/sbin/fsck_ffs/utilities.c b/sbin/fsck_ffs/utilities.c
index 9a0be2e4233..f338dd1dae7 100644
--- a/sbin/fsck_ffs/utilities.c
+++ b/sbin/fsck_ffs/utilities.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: utilities.c,v 1.20 2003/08/25 23:28:15 tedu Exp $ */
+/* $OpenBSD: utilities.c,v 1.21 2006/01/25 06:25:46 tedu Exp $ */
/* $NetBSD: utilities.c,v 1.18 1996/09/27 22:45:20 christos Exp $ */
/*
@@ -34,7 +34,7 @@
#if 0
static char sccsid[] = "@(#)utilities.c 8.1 (Berkeley) 6/5/93";
#else
-static const char rcsid[] = "$OpenBSD: utilities.c,v 1.20 2003/08/25 23:28:15 tedu Exp $";
+static const char rcsid[] = "$OpenBSD: utilities.c,v 1.21 2006/01/25 06:25:46 tedu Exp $";
#endif
#endif /* not lint */
@@ -175,7 +175,7 @@ getdatablk(daddr_t blkno, long size)
if (bp == &bufhead)
errexit("deadlocked buffer pool\n");
getblk(bp, blkno, size);
- /* fall through */
+ /* FALLTHROUGH */
foundit:
totalreads++;
bp->b_prev->b_next = bp->b_next;