mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +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);
|
fd = block_proxy(path, oflags);
|
||||||
if (fd < 0)
|
if (fd < 0)
|
||||||
{
|
{
|
||||||
|
ret = fd;
|
||||||
goto errout_with_search;
|
goto errout_with_search;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user