!1011 告警清理

Merge pull request !1011 from 乔克叔叔/cherry-pick-1673590318
This commit is contained in:
openharmony_ci
2023-01-13 06:57:20 +00:00
committed by Gitee

View File

@@ -250,7 +250,7 @@ STATIC int VfsRemount(const char *source, const char *target,
STATIC int VfsMountPathCheck(const char *target)
{
/* target must begin with '/', for example /system, /data, etc. */
if ((target == NULL) || (target[0] != '/') || (target[0] == '\0')) {
if ((target == NULL) || (target[0] != '/')) {
errno = EINVAL;
return (int)LOS_NOK;
}