From dbfe5fb5734c25e8e534c178fda6254e916ff4b4 Mon Sep 17 00:00:00 2001 From: anjiahao Date: Mon, 20 Jun 2022 16:23:07 +0800 Subject: [PATCH] cmd_reset_cause:remove ouput space. can use ouput string set a env to argv Signed-off-by: anjiahao --- nshlib/nsh_syscmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nshlib/nsh_syscmds.c b/nshlib/nsh_syscmds.c index 9206c7d57..9bdc9dad3 100644 --- a/nshlib/nsh_syscmds.c +++ b/nshlib/nsh_syscmds.c @@ -351,7 +351,7 @@ int cmd_reset_cause(FAR struct nsh_vtbl_s *vtbl, int argc, char **argv) return ERROR; } - nsh_output(vtbl, "cause:0x%x, flag:0x%" PRIx32 "\n", + nsh_output(vtbl, "cause:0x%x,flag:0x%" PRIx32 "\n", cause.cause, cause.flag); return OK; }