!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
commit c7088f4d0f
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 1 additions and 1 deletions

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;
}