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

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

diff -u --recursive --new-file v2.1.59/linux/fs/proc/kmsg.c linux/fs/proc/kmsg.c
@@ -30,8 +30,8 @@
 	return 0;
 }
 
-static long kmsg_read(struct inode * inode, struct file * file,
-	char * buf, unsigned long count)
+static ssize_t kmsg_read(struct file * file, char * buf,
+			 size_t count, loff_t *ppos)
 {
 	return sys_syslog(2,buf,count);
 }

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