diff options
-rw-r--r-- | libtrivfs/io-readable.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libtrivfs/io-readable.c b/libtrivfs/io-readable.c index fd6c33ef..241070fb 100644 --- a/libtrivfs/io-readable.c +++ b/libtrivfs/io-readable.c @@ -24,5 +24,5 @@ trivfs_S_io_readable (struct trivfs_protid *cred, int *amount) { assert (!trivfs_support_read); - return cred ? EBADF : EOPNOTSUPP; + return EOPNOTSUPP; } |