From d39baad11e5092b56621902f8406c64c092a90dc Mon Sep 17 00:00:00 2001 From: "Ryan S. Arnold" Date: Fri, 4 Oct 2013 12:07:04 -0500 Subject: Update generic swapon definition to match prototype. --- misc/swapon.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'misc') diff --git a/misc/swapon.c b/misc/swapon.c index 61933b8..0e587d4 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; -- cgit v1.1