--- linux/drivers/char/mem.c.orig Tue Jul 2 18:08:41 1996
+++ linux/drivers/char/mem.c Wed Jul 24 04:49:49 1996
@@ -221,10 +221,10 @@
switch (orig) {
case 0:
file->f_pos = offset;
- return file->f_pos;
+ break;
case 1:
file->f_pos += offset;
- return file->f_pos;
+ break;
default:
return -EINVAL;
}
-- Michiel Boland <boland@sci.kun.nl> University of Nijmegen The Netherlands