summaryrefslogtreecommitdiff
path: root/libc/misc/swapon.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/swapon.c')
-rw-r--r--libc/misc/swapon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/misc/swapon.c b/libc/misc/swapon.c
index 61933b8bb..0e587d473 100644
--- a/libc/misc/swapon.c
+++ b/libc/misc/swapon.c
@@ -22,8 +22,7 @@
/* Make the block special device PATH available to the system for swapping.
This call is restricted to the super-user. */
int
-swapon (path)
- const char *path;
+swapon (const char *path, int flags)
{
__set_errno (ENOSYS);
return -1;