From 967c65a99059fd459b956c1588ce0ba227912c4e Mon Sep 17 00:00:00 2001 From: Ralf Baechle Date: Tue, 16 Dec 1997 05:34:03 +0000 Subject: Merge with Linux 2.1.72, part 1. --- net/wanrouter/wanproc.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'net/wanrouter') diff --git a/net/wanrouter/wanproc.c b/net/wanrouter/wanproc.c index 9c3fe9b2a..937c50076 100644 --- a/net/wanrouter/wanproc.c +++ b/net/wanrouter/wanproc.c @@ -57,8 +57,7 @@ typedef struct wan_stat_entry /* Proc filesystem interface */ static int router_proc_perms (struct inode*, int); -static long router_proc_read(struct inode* inode, struct file* file, char* buf, - unsigned long count); +static ssize_t router_proc_read(struct file* file, char* buf, size_t count, loff_t *ppos); /* Methods for preparing data for reading proc entries */ @@ -337,9 +336,10 @@ static int router_proc_perms (struct inode* inode, int op) * <0 error */ -static long router_proc_read(struct inode* inode, struct file* file, - char* buf, unsigned long count) +static ssize_t router_proc_read(struct file* file, char* buf, size_t count, + loff_t *ppos) { + struct inode *inode; struct proc_dir_entry* dent; char* page; int pos, offs, len; -- cgit v1.2.3