summaryrefslogtreecommitdiff
path: root/libtrivfs/dir-readdir.c
diff options
context:
space:
mode:
authorMichael I. Bushnell <mib@gnu.org>1994-02-17 23:34:35 +0000
committerMichael I. Bushnell <mib@gnu.org>1994-02-17 23:34:35 +0000
commita8c587573374e24c8c46b35215c119c6c4c79875 (patch)
treea4b1fb5f728da97069f4cfacc672b74b3075e59c /libtrivfs/dir-readdir.c
parent3e452bf0bac498d36628087bf5064915dd87a01b (diff)
Formerly dir-readdir.c.~2~
Diffstat (limited to 'libtrivfs/dir-readdir.c')
-rw-r--r--libtrivfs/dir-readdir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtrivfs/dir-readdir.c b/libtrivfs/dir-readdir.c
index d940c5af..703a0c7e 100644
--- a/libtrivfs/dir-readdir.c
+++ b/libtrivfs/dir-readdir.c
@@ -25,5 +25,5 @@ trivfs_S_dir_readdir (struct protid *cred,
off_t *nextoff,
int amt)
{
- return cred ? EOPNOTSUPP : ENOTDIR;
+ return cred ? ENOTDIR : EOPNOTSUPP;
}