summaryrefslogtreecommitdiff
path: root/regress/sys
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2002-02-13 16:24:26 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2002-02-13 16:24:26 +0000
commit380c15dc359d713114d5dce6b4a285852f414061 (patch)
tree9b4203d7d88c4e9a77058a6aec4235b3be5efa3b /regress/sys
parent38bf786788070edf1114ee9ed8a6a882b5660c6d (diff)
The syscall numer is quad to __syscall(2).
Diffstat (limited to 'regress/sys')
-rw-r--r--regress/sys/kern/__syscall/__syscall.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regress/sys/kern/__syscall/__syscall.c b/regress/sys/kern/__syscall/__syscall.c
index 2dee210fc02..c44ea3fb773 100644
--- a/regress/sys/kern/__syscall/__syscall.c
+++ b/regress/sys/kern/__syscall/__syscall.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: __syscall.c,v 1.1 2002/02/08 21:39:22 art Exp $ */
+/* $OpenBSD: __syscall.c,v 1.2 2002/02/13 16:24:25 art Exp $ */
/*
* Written by Artur Grabowski <art@openbsd.org> 2002 Public Domain.
*/
@@ -18,7 +18,7 @@ main()
case -1:
err(1, "fork");
case 0:
- __syscall(SYS_exit, (u_int64_t)17);
+ __syscall((u_int64_t)SYS_exit, (u_int64_t)17);
abort();
}