mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
Update generic swapon definition to match prototype.
This commit is contained in:
parent
29d73d867e
commit
d39baad11e
@ -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>
|
2013-10-04 Joseph Myers <joseph@codesourcery.com>
|
||||||
|
|
||||||
* sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
|
* sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
|
||||||
|
@ -22,8 +22,7 @@
|
|||||||
/* Make the block special device PATH available to the system for swapping.
|
/* Make the block special device PATH available to the system for swapping.
|
||||||
This call is restricted to the super-user. */
|
This call is restricted to the super-user. */
|
||||||
int
|
int
|
||||||
swapon (path)
|
swapon (const char *path, int flags)
|
||||||
const char *path;
|
|
||||||
{
|
{
|
||||||
__set_errno (ENOSYS);
|
__set_errno (ENOSYS);
|
||||||
return -1;
|
return -1;
|
||||||
|
Loading…
Reference in New Issue
Block a user