Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/usermode/usermode usermode/syscall.c: s/fall trough...



details:   https://anonhg.NetBSD.org/src/rev/03d043588caf
branches:  trunk
changeset: 374148:03d043588caf
user:      gutteridge <gutteridge%NetBSD.org@localhost>
date:      Mon Apr 03 17:58:41 2023 +0000

description:
usermode/syscall.c: s/fall trough/FALLTHROUGH/ (KNF)

diffstat:

 sys/arch/usermode/usermode/syscall.c |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (31 lines):

diff -r e82926008b70 -r 03d043588caf sys/arch/usermode/usermode/syscall.c
--- a/sys/arch/usermode/usermode/syscall.c      Mon Apr 03 16:45:46 2023 +0000
+++ b/sys/arch/usermode/usermode/syscall.c      Mon Apr 03 17:58:41 2023 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: syscall.c,v 1.25 2019/04/06 11:54:21 kamil Exp $ */
+/* $NetBSD: syscall.c,v 1.26 2023/04/03 17:58:41 gutteridge Exp $ */
 
 /*-
  * Copyright (c) 2007 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -27,7 +27,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.25 2019/04/06 11:54:21 kamil Exp $");
+__KERNEL_RCSID(0, "$NetBSD: syscall.c,v 1.26 2023/04/03 17:58:41 gutteridge Exp $");
 
 #include <sys/types.h>
 #include <sys/param.h>
@@ -137,10 +137,10 @@ syscall(void)
 //out:
        switch (error) {
        default:
-               /* fall trough */
+               /* FALLTHROUGH */
        case 0:
                md_syscall_set_returnargs(l, ucp, error, rval);
-               /* fall trough */
+               /* FALLTHROUGH */
        case EJUSTRETURN:
                break;
        case ERESTART:



Home | Main Index | Thread Index | Old Index