projects
/
barrelfish
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
517ef0b
)
libvfs: vfs_fd: correctly set errno = ENOENT on FS_ERR_NOTFILE
release2017-03-08
author
Simon Gerber
<simon.gerber@inf.ethz.ch>
Tue, 7 Mar 2017 13:49:10 +0000 (14:49 +0100)
committer
Simon Gerber
<simon.gerber@inf.ethz.ch>
Tue, 7 Mar 2017 13:49:10 +0000 (14:49 +0100)
Signed-off-by: Simon Gerber <simon.gerber@inf.ethz.ch>
lib/vfs/vfs_fd.c
patch
|
blob
|
history
diff --git
a/lib/vfs/vfs_fd.c
b/lib/vfs/vfs_fd.c
index
aece30a
..
51805d2
100644
(file)
--- a/
lib/vfs/vfs_fd.c
+++ b/
lib/vfs/vfs_fd.c
@@
-59,6
+59,7
@@
int vfsfd_open(const char *pathname, int flags)
switch(err_no(err)) {
case FS_ERR_NOTFOUND:
+ case FS_ERR_NOTFILE:
errno = ENOENT;
break;