summaryrefslogtreecommitdiff
path: root/libnetfs/io-seek.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1996-04-24 20:02:47 +0000
committerMichael I. Bushnell <mib@gnu.org>1996-04-24 20:02:47 +0000
commitb3d7daa23a65651b390cac19ef72603e47198888 (patch)
tree4627d65f50f01e9b940fdfae7e1c2eedbde9029a /libnetfs/io-seek.c
parentec399f410b97ee533197c082036f16906060ed5e (diff)
(netfs_S_io_seek): Bother to set *NEWOFFSET.
Diffstat (limited to 'libnetfs/io-seek.c')
-rw-r--r--libnetfs/io-seek.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libnetfs/io-seek.c b/libnetfs/io-seek.c
index 1ab3668f..55d924c8 100644
--- a/libnetfs/io-seek.c
+++ b/libnetfs/io-seek.c
@@ -1,5 +1,5 @@
/*
- Copyright (C) 1995 Free Software Foundation, Inc.
+ Copyright (C) 1995, 1996 Free Software Foundation, Inc.
Written by Michael I. Bushnell, p/BSG.
This file is part of the GNU Hurd.
@@ -56,6 +56,7 @@ netfs_S_io_seek (struct protid *user,
err = EINVAL;
break;
}
+ *newoffset = user->po->filepointer;
mutex_unlock (&user->po->np->lock);
return err;
}