Merge pull request #9208 from zmshahaha/errno

[components][lwp]fix exec and mount error code
This commit is contained in:
Bernard Xiong
2024-07-18 20:32:06 +08:00
committed by GitHub
2 changed files with 9 additions and 3 deletions
+1 -1
View File
@@ -127,7 +127,7 @@ int dfs_mount(const char *device_name,
}
else
{
rt_set_errno(ENOENT);
rt_set_errno(ENODEV);
ret = -1;
}