summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2017-07-15 14:16:50 +0300
committerHans Rosenfeld <hans.rosenfeld@joyent.com>2018-04-23 18:15:40 +0200
commite544b3c5a10750f0a6e563f648a46ff304d9ee95 (patch)
treee7896154f75026ddb947b5e406a7b43139ea4e09
parentb80bb91b66c2de22d944d93cdc98304eb32be782 (diff)
downloadillumos-joyent-e544b3c5a10750f0a6e563f648a46ff304d9ee95.tar.gz
9406 acct: this statement may fall through
Reviewed by: C Fraire <cfraire@me.com> Reviewed by: Gary Mills <gary_mills@fastmail.fm> Approved by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
-rw-r--r--usr/src/cmd/acct/acctcon.c3
-rw-r--r--usr/src/cmd/acct/acctcon1.c3
2 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/cmd/acct/acctcon.c b/usr/src/cmd/acct/acctcon.c
index e153a5c793..bb64b4eeb4 100644
--- a/usr/src/cmd/acct/acctcon.c
+++ b/usr/src/cmd/acct/acctcon.c
@@ -26,8 +26,6 @@
* Copyright 2006 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
/*
* acctcon [-l file] [-o file] <wtmpx-file
@@ -237,6 +235,7 @@ loop()
return;
case BOOT_TIME:
upall();
+ /* FALLTHROUGH */
case ACCOUNTING:
case RUN_LVL:
lastime = wb.ut_xtime;
diff --git a/usr/src/cmd/acct/acctcon1.c b/usr/src/cmd/acct/acctcon1.c
index b15c70fb5b..abf5685f4e 100644
--- a/usr/src/cmd/acct/acctcon1.c
+++ b/usr/src/cmd/acct/acctcon1.c
@@ -27,7 +27,7 @@
* Copyright 2005 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
+
/*
* acctcon1 [-p] [-t] [-l file] [-o file] <wtmpx-file >ctmp-file
* -p print input only, no processing
@@ -259,6 +259,7 @@ loop()
return;
case BOOT_TIME:
upall();
+ /* FALLTHROUGH */
case ACCOUNTING:
case RUN_LVL:
lastime = wb.ut_xtime;