!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
commit 47103b943a
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) STATIC int VfsMountPathCheck(const char *target)
{ {
/* target must begin with '/', for example /system, /data, etc. */ /* target must begin with '/', for example /system, /data, etc. */
if ((target == NULL) || (target[0] != '/') || (target[0] == '\0')) { if ((target == NULL) || (target[0] != '/')) {
errno = EINVAL; errno = EINVAL;
return (int)LOS_NOK; return (int)LOS_NOK;
} }