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