!1010 告警清理

Merge pull request !1010 from 乔克叔叔/release
This commit is contained in:
openharmony_ci
2023-01-13 05:42:29 +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;
}