summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}