summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Delaunay <patrick.delaunay@foss.st.com>2022-04-15 11:46:50 +0200
committerPatrice Chotard <patrice.chotard@foss.st.com>2022-05-10 10:56:39 +0200
commit1494e3758634a32a79484099ee9a86ff5e7d737a (patch)
tree981cd5d65059c41a80b2aa243d1fd9e01ea0e4b9
parent13dc7562b67c82a31fa80f6e855018d803b7c7b3 (diff)
board: st: common: fix the error messages in stboard command
Add missing \n at the end of the error trace Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com> Signed-off-by: Patrice Chotard <patrice.chotard@foss.st.com>
-rw-r--r--board/st/common/cmd_stboard.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/board/st/common/cmd_stboard.c b/board/st/common/cmd_stboard.c
index c1ecd643b00..e12669b8628 100644
--- a/board/st/common/cmd_stboard.c
+++ b/board/st/common/cmd_stboard.c
@@ -92,14 +92,14 @@ static int do_stboard(struct cmd_tbl *cmdtp, int flag, int argc,
&otp, sizeof(otp));
if (ret != sizeof(otp)) {
- puts("OTP read error");
+ puts("OTP read error\n");
return CMD_RET_FAILURE;
}
ret = misc_read(dev, STM32_BSEC_LOCK(BSEC_OTP_BOARD),
&lock, sizeof(lock));
if (ret != sizeof(lock)) {
- puts("LOCK read error");
+ puts("LOCK read error\n");
return CMD_RET_FAILURE;
}