patch-2.3.15 linux/mm/swapfile.c
Next file: linux/net/802/Makefile
Previous file: linux/mm/mprotect.c
Back to the patch index
Back to the overall index
-  Lines: 18
-  Date:
Mon Aug 23 11:15:53 1999
-  Orig file: 
v2.3.14/linux/mm/swapfile.c
-  Orig date: 
Mon Aug  9 12:37:35 1999
diff -u --recursive --new-file v2.3.14/linux/mm/swapfile.c linux/mm/swapfile.c
@@ -380,7 +380,7 @@
 	return 0;
 }
 
-asmlinkage int sys_swapoff(const char * specialfile)
+asmlinkage long sys_swapoff(const char * specialfile)
 {
 	struct swap_info_struct * p = NULL;
 	struct dentry * dentry;
@@ -524,7 +524,7 @@
  *
  * The swapon system call
  */
-asmlinkage int sys_swapon(const char * specialfile, int swap_flags)
+asmlinkage long sys_swapon(const char * specialfile, int swap_flags)
 {
 	struct swap_info_struct * p;
 	struct dentry * swap_dentry;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)