fs/vfs/fs_open.c: Fix not returning failure for block_proxy() call.
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue