diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | misc/swapon.c | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog index 6c0d322091..2ff55163da 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org> + + * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to + match prototype. + 2013-10-04 Joseph Myers <joseph@codesourcery.com> * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags): 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; |