diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh index ecb42d29bab8..8ab617d1c6ec 100644 --- a/sys/kern/makesyscalls.sh +++ b/sys/kern/makesyscalls.sh @@ -1,5 +1,5 @@ #! /bin/sh - -# $NetBSD: makesyscalls.sh,v 1.42 2000/12/09 05:41:12 mycroft Exp $ +# $NetBSD: makesyscalls.sh,v 1.43 2000/12/12 17:32:45 jdolecek Exp $ # # Copyright (c) 1994, 1996, 2000 Christopher G. Demetriou # All rights reserved. @@ -270,6 +270,10 @@ function parseline() { funcalias="" end=NF } + if ($f ~ /^[a-z0-9_]*$/) { # allow syscall alias + funcalias=$f + f++ + } if ($f != "{") parserr($f, "{") f++