diff options
Diffstat (limited to 'sys/kern/makesyscalls.sh')
-rw-r--r-- | sys/kern/makesyscalls.sh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh index 2aa198a2ade..53934584a6a 100644 --- a/sys/kern/makesyscalls.sh +++ b/sys/kern/makesyscalls.sh @@ -1,5 +1,5 @@ #! /bin/sh - -# $OpenBSD: makesyscalls.sh,v 1.6 1998/02/08 22:30:41 tholo Exp $ +# $OpenBSD: makesyscalls.sh,v 1.7 2001/01/29 07:20:24 jasoni Exp $ # $NetBSD: makesyscalls.sh,v 1.26 1998/01/09 06:17:51 thorpej Exp $ # # Copyright (c) 1994,1996 Christopher G. Demetriou @@ -240,6 +240,10 @@ function parseline() { funcalias="" end=NF } + if ($f ~ /^[a-z0-9_]*$/) { # allow syscall alias + funcalias=$f + f++ + } if ($f != "{") parserr($f, "{") f++ |