patch-2.0.21-2.1.0 linux/fs/proc/kmsg.c

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

diff -u --recursive --new-file lx2.0/v2.0.21/linux/fs/proc/kmsg.c linux/fs/proc/kmsg.c
@@ -28,7 +28,8 @@
 	(void) sys_syslog(0,NULL,0);
 }
 
-static int kmsg_read(struct inode * inode, struct file * file,char * buf, int count)
+static long kmsg_read(struct inode * inode, struct file * file,
+	char * buf, unsigned long count)
 {
 	return sys_syslog(2,buf,count);
 }

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