summaryrefslogtreecommitdiffstats
path: root/sys/kern/makesyscalls.sh
diff options
context:
space:
mode:
authorsos <sos@FreeBSD.org>1994-08-24 11:52:21 +0000
committersos <sos@FreeBSD.org>1994-08-24 11:52:21 +0000
commitecc424b57bcdf651d67766c458bc8c3e1bcde1f7 (patch)
treed44c9b6cf2bf87e21fea043e3f7e37e7b55833e1 /sys/kern/makesyscalls.sh
parent905367d1b840c512e15cb6243dbc3c4b14370cfc (diff)
downloadFreeBSD-src-ecc424b57bcdf651d67766c458bc8c3e1bcde1f7.zip
FreeBSD-src-ecc424b57bcdf651d67766c458bc8c3e1bcde1f7.tar.gz
Changes preparing for iBCS support
Reviewed by: Submitted by:
Diffstat (limited to 'sys/kern/makesyscalls.sh')
-rw-r--r--sys/kern/makesyscalls.sh8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/kern/makesyscalls.sh b/sys/kern/makesyscalls.sh
index fcd0584..51fd760 100644
--- a/sys/kern/makesyscalls.sh
+++ b/sys/kern/makesyscalls.sh
@@ -1,6 +1,6 @@
#! /bin/sh -
# @(#)makesyscalls.sh 8.1 (Berkeley) 6/10/93
-# $Id: makesyscalls.sh,v 1.2 1994/08/02 07:42:24 davidg Exp $
+# $Id: makesyscalls.sh,v 1.3 1994/08/19 11:45:21 davidg Exp $
set -e
@@ -163,8 +163,10 @@ awk < $1 "
printf("#endif /* %s */\n\n", compat) > syscompat
printf("};\n\n") > sysent
- printf("int\tnsysent = sizeof(sysent) / sizeof(sysent[0]);\n") > sysent
-
+ printf ("struct sysentvec aout_sysvec = {\n") > sysent
+ printf ("\tsizeof (sysent) / sizeof (sysent[0]),\n") > sysent
+ printf ("\tsysent,\n") > sysent
+ printf ("\t0,\n\t0,\n\t0\n};") > sysent
printf("};\n") > sysnames
} '
OpenPOWER on IntegriCloud