projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
More error cleanups.
[paraslash.git]
/
osl.c
diff --git
a/osl.c
b/osl.c
index 9843a02034fc8927bdcce36be4bc6f7959d6f88d..41318976963e92fbe8fec2618aa10775734dc59a 100644
(file)
--- a/
osl.c
+++ b/
osl.c
@@
-179,7
+179,7
@@
int for_each_file_in_dir(const char *dirname,
int cwd_fd, ret2, ret = para_opendir(dirname, &dir, &cwd_fd);
if (ret < 0)
- return ret == -E
_CHDIR_PERM
? 1 : ret;
+ return ret == -E
RRNO_TO_PARA_ERROR(EACCES)
? 1 : ret;
/* scan cwd recursively */
while ((entry = readdir(dir))) {
mode_t m;