Fill syscallnames up to nsysent so that n<nsysent has a non-hyperspace

string mapping.
This commit is contained in:
pooka 2010-12-30 11:42:53 +00:00
parent e64aab24d3
commit c86a7bcf7c

View File

@ -1,5 +1,5 @@
#! /bin/sh -
# $NetBSD: makesyscalls.sh,v 1.103 2010/11/17 21:47:11 pooka Exp $
# $NetBSD: makesyscalls.sh,v 1.104 2010/12/30 11:42:53 pooka Exp $
#
# Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou
# All rights reserved.
@ -817,6 +817,7 @@ END {
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
syscall++
}
}