From 705bfbdc76f10369689110bc56458f247447d9ac Mon Sep 17 00:00:00 2001 From: liuwenxin Date: Fri, 13 Jan 2023 10:39:52 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9Arelease=E5=91=8A=E8=AD=A6=E6=B8=85?= =?UTF-8?q?=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit release分支告警清理 close:#I6AD15 Signed-off-by: liuwenxin --- components/fs/vfs/vfs_mount.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/fs/vfs/vfs_mount.c b/components/fs/vfs/vfs_mount.c index a06be352..d6821b1a 100644 --- a/components/fs/vfs/vfs_mount.c +++ b/components/fs/vfs/vfs_mount.c @@ -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; }