diff options
author | charnier <charnier@FreeBSD.org> | 2002-08-25 13:10:45 +0000 |
---|---|---|
committer | charnier <charnier@FreeBSD.org> | 2002-08-25 13:10:45 +0000 |
commit | 4966efff7bc9071f04706819e62e1a291d22bcb2 (patch) | |
tree | b72048b5daaf9c3f63615a383f3610277e497ede /sbin/restore | |
parent | c88222c6c0149f22317404fa4c67eba023d90206 (diff) | |
download | FreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.zip FreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.tar.gz |
Replace various spelling with FALLTHROUGH which is lint()able
Diffstat (limited to 'sbin/restore')
-rw-r--r-- | sbin/restore/interactive.c | 2 | ||||
-rw-r--r-- | sbin/restore/restore.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/sbin/restore/interactive.c b/sbin/restore/interactive.c index 54f16e3..5bfe821 100644 --- a/sbin/restore/interactive.c +++ b/sbin/restore/interactive.c @@ -594,7 +594,7 @@ mkentry(char *name, struct direct *dp, struct afile *fp) default: fprintf(stderr, "Warning: undefined file type %d\n", dp->d_type); - /* fall through */ + /* FALLTHROUGH */ case DT_REG: fp->postfix = ' '; break; diff --git a/sbin/restore/restore.c b/sbin/restore/restore.c index 96f6c2d..8b463a7 100644 --- a/sbin/restore/restore.c +++ b/sbin/restore/restore.c @@ -321,7 +321,7 @@ nodeupdates(char *name, ino_t ino, int type) } else { mktempname(np); } - /* fall through */ + /* FALLTHROUGH */ /* * A previously non-existent file. @@ -352,7 +352,7 @@ nodeupdates(char *name, ino_t ino, int type) case ONTAPE|INOFND: if (type == LEAF && (ip->e_flags & KEEP) == 0) ip->e_flags |= EXTRACT; - /* fall through */ + /* FALLTHROUGH */ case INOFND: if ((ip->e_flags & KEEP) == 0) { renameit(myname(ip), name); |