about summary refs log tree commit diff
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/swapon.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/misc/swapon.c b/misc/swapon.c
index 61933b8bb5..0e587d473f 100644
--- a/misc/swapon.c
+++ b/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;