diff options
-rw-r--r-- | libtrivfs/dir-readdir.c | 2 |
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; } |