summaryrefslogtreecommitdiff
path: root/libtrivfs
diff options
context:
space:
mode:
Diffstat (limited to 'libtrivfs')
-rw-r--r--libtrivfs/io-read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtrivfs/io-read.c b/libtrivfs/io-read.c
index a5354852..a9fac879 100644
--- a/libtrivfs/io-read.c
+++ b/libtrivfs/io-read.c
@@ -27,5 +27,5 @@ trivfs_S_io_read (struct trivfs_protid *cred,
int amt)
{
assert (!trivfs_support_read);
- return cred ? EBADF : EOPNOTSUPP;
+ return EOPNOTSUPP;
}