fix resetcause nsh command print

Signed-off-by: 田昕 <tianxin7@xiaomi.com>
This commit is contained in:
田昕 2022-04-14 20:11:50 +08:00 committed by Petro Karashchenko
parent a6c986d516
commit cc7653b8c7

View File

@ -334,7 +334,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;
}