From 61326940361b2242feb8adfefb9ca12727154693 Mon Sep 17 00:00:00 2001 From: Tomas Vanek Date: Sun, 8 Nov 2020 10:09:33 +0100 Subject: [PATCH] flash/nor/stm32f1x: fix error message Backported from gd32vf103.c Change-Id: I9c5bb7b36e6efcee0473c97047058ef26cc46eb7 Signed-off-by: Tomas Vanek Reviewed-on: http://openocd.zylin.com/5927 Reviewed-by: Antonio Borneo Tested-by: jenkins --- src/flash/nor/stm32f1x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/flash/nor/stm32f1x.c b/src/flash/nor/stm32f1x.c index 78efc8b47..9cd282d65 100644 --- a/src/flash/nor/stm32f1x.c +++ b/src/flash/nor/stm32f1x.c @@ -215,7 +215,7 @@ static int stm32x_check_operation_supported(struct flash_bank *bank) /* if we have a dual flash bank device then * we need to perform option byte stuff on bank0 only */ if (stm32x_info->register_base != FLASH_REG_BASE_B0) { - LOG_ERROR("Option Byte Operation's must use bank0"); + LOG_ERROR("Option byte operations must use bank 0"); return ERROR_FLASH_OPERATION_FAILED; } -- 2.30.2