diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-18 08:54:57 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2018-07-18 08:56:16 +0200 |
commit | bda8f80cbfcc15e0e44edf3e219d2400b99457e5 (patch) | |
tree | 1bb9b05927ddf1ba4bc4e45af36b044a4c3f0c0c | |
parent | score: Fix _Scheduler_EDF_SMP_Set_affinity() (diff) | |
download | rtems-bda8f80cbfcc15e0e44edf3e219d2400b99457e5.tar.bz2 |
score: Add a FALLTHROUGH comment to kvprintf()
This change was added to the FreeBSD version of this function.
This was spotted by Coverity Scan.
-rw-r--r-- | cpukit/score/src/iovprintf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/src/iovprintf.c b/cpukit/score/src/iovprintf.c index cf54ecbbc7..f3f8219261 100644 --- a/cpukit/score/src/iovprintf.c +++ b/cpukit/score/src/iovprintf.c @@ -1,4 +1,6 @@ /*- + * SPDX-License-Identifier: BSD-3-Clause + * * Copyright (c) 1986, 1988, 1991, 1993 * The Regents of the University of California. All rights reserved. * (c) UNIX System Laboratories, Inc. @@ -37,7 +39,7 @@ #include <rtems/score/io.h> #include <sys/cdefs.h> -__FBSDID("$FreeBSD: head/sys/kern/subr_prf.c 320908 2017-07-12 07:30:14Z rlibby $"); +__FBSDID("$FreeBSD: head/sys/kern/subr_prf.c 336417 2018-07-17 14:56:54Z markj $"); #include <sys/param.h> #include <string.h> @@ -157,6 +159,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) { |