diff --git a/components/shell/src/cmds/vfs_shellcmd.c b/components/shell/src/cmds/vfs_shellcmd.c index 7b6b4a75..6cb1e06c 100755 --- a/components/shell/src/cmds/vfs_shellcmd.c +++ b/components/shell/src/cmds/vfs_shellcmd.c @@ -857,7 +857,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; } }