diff options
author | Michael I. Bushnell <mib@gnu.org> | 1995-11-15 16:50:33 +0000 |
---|---|---|
committer | Michael I. Bushnell <mib@gnu.org> | 1995-11-15 16:50:33 +0000 |
commit | 33539520d2e6b3789d2354c651b6e8a12ff21edd (patch) | |
tree | 1f8fc194ed4efad8e1b96a56fa98a74f9bdc305a /libnetfs | |
parent | 63adf484632b5bb90db9cbf17ceddeec5d24487e (diff) |
Formerly io-seek.c.~3~
Diffstat (limited to 'libnetfs')
-rw-r--r-- | libnetfs/io-seek.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libnetfs/io-seek.c b/libnetfs/io-seek.c index a6066dce..7ff472c0 100644 --- a/libnetfs/io-seek.c +++ b/libnetfs/io-seek.c @@ -18,6 +18,7 @@ along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA. */ +#include <unistd.h> #include "netfs.h" #include "io_S.h" @@ -27,6 +28,8 @@ netfs_S_io_seek (struct protid *user, int whence, off_t *newoffset) { + error_t err; + if (!user) return EOPNOTSUPP; |