Source-Changes-HG archive

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

[src/trunk]: src/sys/kern whitespace polish in rump_syscalls.c



details:   https://anonhg.NetBSD.org/src/rev/56c084026cd1
branches:  trunk
changeset: 760185:56c084026cd1
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Dec 30 13:38:10 2010 +0000

description:
whitespace polish in rump_syscalls.c

diffstat:

 sys/kern/makesyscalls.sh |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (46 lines):

diff -r 38ea3684bb21 -r 56c084026cd1 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Thu Dec 30 12:46:34 2010 +0000
+++ b/sys/kern/makesyscalls.sh  Thu Dec 30 13:38:10 2010 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh -
-#      $NetBSD: makesyscalls.sh,v 1.105 2010/12/30 11:54:50 pooka Exp $
+#      $NetBSD: makesyscalls.sh,v 1.106 2010/12/30 13:38:10 pooka Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -591,7 +591,7 @@
        if (!insysent) {
                eno[0] = "rump_enosys"
                eno[1] = "sys_nomodule"
-               printf("\t{ 0, 0, 0,\n\t    (sy_call_t *)%s }, \t\t"    \
+               printf("\t{ 0, 0, 0,\n\t    (sy_call_t *)%s }, \t"      \
                    "/* %d = unrumped */\n",                            \
                    eno[modular], syscall) > rumpsysent
                return
@@ -604,7 +604,7 @@
                printf("ns(struct sys_%s%s_args), ", compatwrap_, funcalias) > rumpsysent
        }
        printf("0,\n\t    %s },", wfn) > rumpsysent
-       for (i = 0; i < (41 - length(wfn)) / 8; i++)
+       for (i = 0; i < (33 - length(wfn)) / 8; i++)
                printf("\t") > rumpsysent
        printf("/* %d = %s%s */\n", syscall, compatwrap_, funcalias) > rumpsysent
 }
@@ -768,7 +768,7 @@
 
        printf("\t{ 0, 0, 0,\n\t    %s },\t\t\t/* %d = %s */\n", \
            sys_stub, syscall, comment) > sysent
-       printf("\t{ 0, 0, 0,\n\t    %s },\t\t\t/* %d = %s */\n", \
+       printf("\t{ 0, 0, 0,\n\t    %s },\t\t/* %d = %s */\n", \
            "(sy_call_t *)rump_enosys", syscall, comment) > rumpsysent
        printf("\t/* %3d */\t\"#%d (%s)\",\n", syscall, syscall, comment) \
            > sysnamesbottom
@@ -815,7 +815,7 @@
                while (syscall < nsysent) {
                        printf("\t{ 0, 0, 0,\n\t    %s },\t\t\t/* %d = filler */\n", \
                            sys_nosys, syscall) > sysent
-                       printf("\t{ 0, 0, 0,\n\t    %s },\t\t\t/* %d = filler */\n", \
+                       printf("\t{ 0, 0, 0,\n\t    %s },\t\t/* %d = filler */\n", \
                            "(sy_call_t *)rump_enosys", syscall) > rumpsysent
                        printf("\t/* %3d */\t\"# filler\",\n", syscall) \
                            > sysnamesbottom



Home | Main Index | Thread Index | Old Index