summaryrefslogtreecommitdiffstats
path: root/lib/libutil
diff options
context:
space:
mode:
authorcharnier <charnier@FreeBSD.org>2002-08-25 13:10:45 +0000
committercharnier <charnier@FreeBSD.org>2002-08-25 13:10:45 +0000
commit4966efff7bc9071f04706819e62e1a291d22bcb2 (patch)
treeb72048b5daaf9c3f63615a383f3610277e497ede /lib/libutil
parentc88222c6c0149f22317404fa4c67eba023d90206 (diff)
downloadFreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.zip
FreeBSD-src-4966efff7bc9071f04706819e62e1a291d22bcb2.tar.gz
Replace various spelling with FALLTHROUGH which is lint()able
Diffstat (limited to 'lib/libutil')
-rw-r--r--lib/libutil/login_cap.c2
-rw-r--r--lib/libutil/property.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/libutil/login_cap.c b/lib/libutil/login_cap.c
index 55784d7..7d50128 100644
--- a/lib/libutil/login_cap.c
+++ b/lib/libutil/login_cap.c
@@ -245,7 +245,7 @@ login_getclassbyname(char const *name, const struct passwd *pwd)
msg = "%s: no default/fallback class '%s'";
if (cgetent(&lc->lc_cap, login_dbarray, (char*)name) != 0 && r >= 0)
break;
- /* Fallthru - just return system defaults */
+ /* FALLTHROUGH - just return system defaults */
case 0: /* success! */
if ((lc->lc_class = strdup(name)) != NULL) {
if (dir) {
diff --git a/lib/libutil/property.c b/lib/libutil/property.c
index 815ce6c..57383f9 100644
--- a/lib/libutil/property.c
+++ b/lib/libutil/property.c
@@ -85,7 +85,7 @@ properties_read(int fd)
ch = buf[0];
bp = 1;
}
- /* Fall through deliberately since we already have a character and state == LOOK */
+ /* FALLTHROUGH deliberately since we already have a character and state == LOOK */
case LOOK:
if (isspace(ch))
OpenPOWER on IntegriCloud