about summary refs log tree commit diff
path: root/sysdeps/generic
diff options
context:
space:
mode:
authorRoland McGrath <roland@hack.frob.com>2013-11-21 15:44:26 -0800
committerRoland McGrath <roland@hack.frob.com>2013-11-21 15:44:26 -0800
commit6851bd4d97546fc7378864d36f42f9d2df15dac5 (patch)
treee3b87ecbf51a39e87d89e875ffc359dfb7638728 /sysdeps/generic
parent84ae135d3282dc362bed0a5c9a575319ef336884 (diff)
downloadglibc-6851bd4d97546fc7378864d36f42f9d2df15dac5.tar.gz
glibc-6851bd4d97546fc7378864d36f42f9d2df15dac5.tar.xz
glibc-6851bd4d97546fc7378864d36f42f9d2df15dac5.zip
Adjust generic swapon prototype to match Linux version.
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/sys/swap.h2
1 files changed, 1 insertions, 1 deletions
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;