mirror of
https://github.com/apache/nuttx.git
synced 2025-12-11 12:57:57 +08:00
fs/vfs/fs_open.c: Fix not returning failure for block_proxy() call.
This commit is contained in:
committed by
Gregory Nutt
parent
7bbc7f568a
commit
ffd37a0175
@@ -168,6 +168,7 @@ int nx_vopen(FAR const char *path, int oflags, va_list ap)
|
||||
fd = block_proxy(path, oflags);
|
||||
if (fd < 0)
|
||||
{
|
||||
ret = fd;
|
||||
goto errout_with_search;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user