mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2026-09-25 22:34:19 +08:00
Merge pull request #9208 from zmshahaha/errno
[components][lwp]fix exec and mount error code
This commit is contained in:
@@ -127,7 +127,7 @@ int dfs_mount(const char *device_name,
|
||||
}
|
||||
else
|
||||
{
|
||||
rt_set_errno(ENOENT);
|
||||
rt_set_errno(ENODEV);
|
||||
ret = -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user