svn commit: r336550 - stable/11/sys/kern

Mark Johnston markj at FreeBSD.org
Fri Jul 20 15:31:52 UTC 2018


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) {


More information about the svn-src-stable mailing list