diff options
author | Ralf Baechle <ralf@linux-mips.org> | 1997-12-16 05:34:03 +0000 |
---|---|---|
committer | Ralf Baechle <ralf@linux-mips.org> | 1997-12-16 05:34:03 +0000 |
commit | 967c65a99059fd459b956c1588ce0ba227912c4e (patch) | |
tree | 8224d013ff5d255420713d05610c7efebd204d2a /net/wanrouter | |
parent | e20c1cc1656a66a2773bca4591a895cbc12696ff (diff) |
Merge with Linux 2.1.72, part 1.
Diffstat (limited to 'net/wanrouter')
-rw-r--r-- | net/wanrouter/wanproc.c | 8 |
1 files changed, 4 insertions, 4 deletions
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; |