summaryrefslogtreecommitdiffstats
path: root/sys/i386
diff options
context:
space:
mode:
authorbde <bde@FreeBSD.org>2000-05-09 17:54:30 +0000
committerbde <bde@FreeBSD.org>2000-05-09 17:54:30 +0000
commitecc8d7cbc119fc19bb1249b27e1b013f2449a563 (patch)
tree6f549f3f6fd5442df0b2731a15b66e74dc88ccf8 /sys/i386
parent34f50cffe78b54de54c329f3de0add8b54c92f3e (diff)
downloadFreeBSD-src-ecc8d7cbc119fc19bb1249b27e1b013f2449a563.zip
FreeBSD-src-ecc8d7cbc119fc19bb1249b27e1b013f2449a563.tar.gz
Fixed the return type and args struct tag for exit(). They were wrong in
all emulators. These entries were unused, so the bug had no effect, but the the args struct tag will be used to calculate sy_nargs correctly.
Diffstat (limited to 'sys/i386')
-rw-r--r--sys/i386/ibcs2/syscalls.master2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/i386/ibcs2/syscalls.master b/sys/i386/ibcs2/syscalls.master
index ccbdf1f..3455d5b 100644
--- a/sys/i386/ibcs2/syscalls.master
+++ b/sys/i386/ibcs2/syscalls.master
@@ -32,7 +32,7 @@
; #ifdef's, etc. may be included, and are copied to the output files.
0 NOPROTO NOHIDE { int nosys(void); } syscall nosys_args int
-1 NOPROTO NOHIDE { int exit(int rval); }
+1 NOPROTO NOHIDE { void exit(int rval); } exit rexit_args void
2 NOPROTO POSIX { int fork(void); }
3 STD POSIX { int ibcs2_read(int fd, char *buf, u_int nbytes); }
4 NOPROTO POSIX { int write(int fd, char *buf, u_int nbytes); }
OpenPOWER on IntegriCloud