From 6851bd4d97546fc7378864d36f42f9d2df15dac5 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 21 Nov 2013 15:44:26 -0800 Subject: Adjust generic swapon prototype to match Linux version. --- sysdeps/generic/sys/swap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/generic/sys') diff --git a/sysdeps/generic/sys/swap.h b/sysdeps/generic/sys/swap.h index 5299f9b732..52c73c5693 100644 --- a/sysdeps/generic/sys/swap.h +++ b/sysdeps/generic/sys/swap.h @@ -24,7 +24,7 @@ /* Make the block special device PATH available to the system for swapping. This call is restricted to the super-user. */ -extern int swapon (const char *__path) __THROW; +extern int swapon (const char *__path, int __flags) __THROW; /* Stop using block special device PATH for swapping. */ extern int swapoff (const char *__path) __THROW; -- cgit 1.4.1