Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jul 2018 15:31:51 +0000 (UTC)
From:      Mark Johnston <markj@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-11@freebsd.org
Subject:   svn commit: r336550 - stable/11/sys/kern
Message-ID:  <201807201531.w6KFVpTo034252@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: markj
Date: Fri Jul 20 15:31:51 2018
New Revision: 336550
URL: https://svnweb.freebsd.org/changeset/base/336550

Log:
  MFC r336417:
  Add a FALLTHROUGH comment to kvprintf().

Modified:
  stable/11/sys/kern/subr_prf.c
Directory Properties:
  stable/11/   (props changed)

Modified: stable/11/sys/kern/subr_prf.c
==============================================================================
--- stable/11/sys/kern/subr_prf.c	Fri Jul 20 14:32:36 2018	(r336549)
+++ stable/11/sys/kern/subr_prf.c	Fri Jul 20 15:31:51 2018	(r336550)
@@ -710,6 +710,7 @@ reswitch:	switch (ch = (u_char)*fmt++) {
 				padc = '0';
 				goto reswitch;
 			}
+			/* FALLTHROUGH */
 		case '1': case '2': case '3': case '4':
 		case '5': case '6': case '7': case '8': case '9':
 				for (n = 0;; ++fmt) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201807201531.w6KFVpTo034252>