From 33539520d2e6b3789d2354c651b6e8a12ff21edd Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Wed, 15 Nov 1995 16:50:33 +0000 Subject: Formerly io-seek.c.~3~ --- libnetfs/io-seek.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'libnetfs/io-seek.c') 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 #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; -- cgit v1.2.3