diff options
Diffstat (limited to 'sys/libn/io.c')
-rw-r--r-- | sys/libn/io.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/libn/io.c b/sys/libn/io.c index 2852f42..08c29b0 100644 --- a/sys/libn/io.c +++ b/sys/libn/io.c @@ -25,7 +25,7 @@ io·stat(Stream *s, io·Stat *buf) int io·exists(byte *path, int flag) { - return access(path, flag); + return access(path, flag) == 0; } error |