Source-Changes-HG archive

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

[src/trunk]: src/sys/kern snafu in previous: extra printf arg



details:   https://anonhg.NetBSD.org/src/rev/fd8fda97b7fb
branches:  trunk
changeset: 760181:fd8fda97b7fb
user:      pooka <pooka%NetBSD.org@localhost>
date:      Thu Dec 30 11:54:50 2010 +0000

description:
snafu in previous: extra printf arg

diffstat:

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

diffs (20 lines):

diff -r 982571b4af79 -r fd8fda97b7fb sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Thu Dec 30 11:45:39 2010 +0000
+++ b/sys/kern/makesyscalls.sh  Thu Dec 30 11:54:50 2010 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh -
-#      $NetBSD: makesyscalls.sh,v 1.104 2010/12/30 11:42:53 pooka Exp $
+#      $NetBSD: makesyscalls.sh,v 1.105 2010/12/30 11:54:50 pooka Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -817,7 +817,8 @@
                            sys_nosys, syscall) > sysent
                        printf("\t{ 0, 0, 0,\n\t    %s },\t\t\t/* %d = filler */\n", \
                            "(sy_call_t *)rump_enosys", syscall) > rumpsysent
-                       printf("\t/* %3d */\t\"# filler\",\n", syscall, syscall) > sysnamesbottom
+                       printf("\t/* %3d */\t\"# filler\",\n", syscall) \
+                           > sysnamesbottom
                        syscall++
                }
        }



Home | Main Index | Thread Index | Old Index