From 8675abcec9a83177068726b12b518b76c79fb501 Mon Sep 17 00:00:00 2001 From: lengqinjie <15390014138@163.com> Date: Tue, 23 Nov 2021 14:09:12 +0800 Subject: [PATCH] =?UTF-8?q?fix(shell):cp=E5=91=BD=E4=BB=A4=E6=89=A7?= =?UTF-8?q?=E8=A1=8C=E6=97=B6=20=E9=80=9A=E9=85=8D=E5=87=BA=E5=A4=9A?= =?UTF-8?q?=E4=B8=AA=E6=BA=90=E6=96=87=E4=BB=B6=E6=97=B6=E9=94=99=E8=AF=AF?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E4=B8=8D=E6=AD=A3=E7=A1=AE=20close=20#I4JETR?= =?UTF-8?q?=20Signed-off-by:=20lengqinjie=20<15390014138@163.com>?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/shell/src/cmds/vfs_shellcmd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/shell/src/cmds/vfs_shellcmd.c b/components/shell/src/cmds/vfs_shellcmd.c index f5c065ba..1ca59845 100755 --- a/components/shell/src/cmds/vfs_shellcmd.c +++ b/components/shell/src/cmds/vfs_shellcmd.c @@ -856,7 +856,7 @@ INT32 OsShellCmdCp(INT32 argc, const CHAR **argv) (VOID)OsWildcardExtractDirectory(srcCopy, &count, CP_COUNT); free(srcCopy); if (count > 1) { - PRINTK("cp error : %s is not a directory.\n", drcFullPath); + PRINTK("cp error : Can not copy two or more files.\n"); goto errout_with_path; } }