summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-18 17:38:20 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-18 17:38:20 +0000
commit2bb0c03a4e82f549bc882ae2abd0f0f11bad6d81 (patch)
tree65af35ac1f2e8d67d45f155060c5ed1bc320cafc /libtrivfs
parent2fbd996bd505fdb633c1dcd210005947dc455fa7 (diff)
Formerly io-seek.c.~3~
Diffstat (limited to 'libtrivfs')
-rw-r--r--libtrivfs/io-seek.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libtrivfs/io-seek.c b/libtrivfs/io-seek.c
index 2e790731..f78b2cd0 100644
--- a/libtrivfs/io-seek.c
+++ b/libtrivfs/io-seek.c
@@ -23,5 +23,6 @@ trivfs_S_io_seek (struct protid *cred,
int whence,
off_t *newp)
{
+ assert (!trivfs_support_read && !trivfs_support_write);
return EOPNOTSUPP;
}