summaryrefslogtreecommitdiff
path: root/sys/kern
diff options
context:
space:
mode:
authorMiod Vallat <miod@cvs.openbsd.org>2003-05-10 17:53:59 +0000
committerMiod Vallat <miod@cvs.openbsd.org>2003-05-10 17:53:59 +0000
commitc4c9bf1696f90cb2e79d52d4a4afa807f6b629e2 (patch)
treef80accda628997cd4d6ad8d779922a6a48f0d48f /sys/kern
parent47790a2a1ac318adfbe4ddf3d304cdf0272c2d76 (diff)
Deprecate the swapon system call and move it to COMPAT_25 land, since swapctl
has been introduced for this release. ok deraadt@ weingart@
Diffstat (limited to 'sys/kern')
-rw-r--r--sys/kern/syscalls.master4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/kern/syscalls.master b/sys/kern/syscalls.master
index 0aa26aa750b..09c54075c56 100644
--- a/sys/kern/syscalls.master
+++ b/sys/kern/syscalls.master
@@ -1,4 +1,4 @@
-; $OpenBSD: syscalls.master,v 1.57 2003/04/29 19:52:32 miod Exp $
+; $OpenBSD: syscalls.master,v 1.58 2003/05/10 17:53:58 miod Exp $
; $NetBSD: syscalls.master,v 1.32 1996/04/23 10:24:21 mycroft Exp $
; @(#)syscalls.master 8.2 (Berkeley) 1/13/94
@@ -176,7 +176,7 @@
const struct itimerval *itv, \
struct itimerval *oitv); }
84 COMPAT_43 { int sys_wait(void); } owait
-85 STD { int sys_swapon(const char *name); }
+85 COMPAT_25 { int sys_swapon(const char *name); }
86 STD { int sys_getitimer(int which, \
struct itimerval *itv); }
87 COMPAT_43 { int sys_gethostname(char *hostname, u_int len); } \