patch-2.1.31 linux/fs/proc/kmsg.c

Next file: linux/fs/proc/openpromfs.c
Previous file: linux/fs/pipe.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.30/linux/fs/proc/kmsg.c linux/fs/proc/kmsg.c
@@ -24,9 +24,10 @@
 	return sys_syslog(1,NULL,0);
 }
 
-static void kmsg_release(struct inode * inode, struct file * file)
+static int kmsg_release(struct inode * inode, struct file * file)
 {
 	(void) sys_syslog(0,NULL,0);
+	return 0;
 }
 
 static long kmsg_read(struct inode * inode, struct file * file,

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov