mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Update generic swapon definition to match prototype.
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user