Source-Changes-HG archive

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

[src/trunk]: src/sys/kern add verbiage to error



details:   https://anonhg.NetBSD.org/src/rev/56e787f04227
branches:  trunk
changeset: 512272:56e787f04227
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Jul 08 18:57:50 2001 +0000

description:
add verbiage to error

diffstat:

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

diffs (19 lines):

diff -r ef4ae8ac6929 -r 56e787f04227 sys/kern/makesyscalls.sh
--- a/sys/kern/makesyscalls.sh  Sun Jul 08 18:19:16 2001 +0000
+++ b/sys/kern/makesyscalls.sh  Sun Jul 08 18:57:50 2001 +0000
@@ -1,5 +1,5 @@
 #! /bin/sh -
-#      $NetBSD: makesyscalls.sh,v 1.48 2001/05/30 11:27:46 mrg Exp $
+#      $NetBSD: makesyscalls.sh,v 1.49 2001/07/08 18:57:50 christos Exp $
 #
 # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
 # All rights reserved.
@@ -513,7 +513,7 @@
        maxsyscall = syscall
        if (nsysent) {
                if (syscall > nsysent) {
-                       printf("%s: line %d: too many syscalls\n", infile, NR)
+                       printf("%s: line %d: too many syscalls [%d < %d]\n", infile, NR, syscall, nsysent)
                        exit 1
                }
                while (syscall < nsysent) {



Home | Main Index | Thread Index | Old Index