fix:release告警清理 release分支告警清理 close:#I6AD15 Signed-off-by: liuwenxin <liuwenxin11@huawei.com>
This commit is contained in:
parent
5e5acfd04f
commit
b4e2c8a8e2
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue