about summary refs log tree commit diff
path: root/misc/swapon.c
diff options
context:
space:
mode:
authorRyan S. Arnold <ryan.arnold@linaro.org>2013-10-04 12:07:04 -0500
committerRyan S. Arnold <ryan.arnold@linaro.org>2013-10-04 12:22:14 -0500
commitd39baad11e5092b56621902f8406c64c092a90dc (patch)
tree4236e3d228e30eb587ec208e27ff9bd8f5a4ec3c /misc/swapon.c
parent29d73d867e1df54d703542cf7d076c5620dc2fb7 (diff)
downloadglibc-d39baad11e5092b56621902f8406c64c092a90dc.tar.gz
glibc-d39baad11e5092b56621902f8406c64c092a90dc.tar.xz
glibc-d39baad11e5092b56621902f8406c64c092a90dc.zip
Update generic swapon definition to match prototype.
Diffstat (limited to 'misc/swapon.c')
-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;