summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-06-29 22:31:40 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-06-29 22:31:40 +0000
commite4bb60b020cc9c727a870f4581beae3954bddf5a (patch)
treef2cc3a5f5ab5412a3c026209aa826998f56121d9
parent399162222baa67ac39b4e8bb279ad661a6fdc9f4 (diff)
entered into RCS
-rw-r--r--libtrivfs/file-set-size.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtrivfs/file-set-size.c b/libtrivfs/file-set-size.c
index 64dc30c0..583df658 100644
--- a/libtrivfs/file-set-size.c
+++ b/libtrivfs/file-set-size.c
@@ -23,5 +23,5 @@ kern_return_t
trivfs_S_file_truncate (struct trivfs_protid *cred, off_t size)
{
assert (!trivfs_support_write);
- return cred ? EBADF : EOPNOTSUPP;
+ return EOPNOTSUPP;
}