summaryrefslogtreecommitdiff
path: root/src/flash/flash.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/flash.c')
-rw-r--r--src/flash/flash.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/flash.c b/src/flash/flash.c
index 6c3242d2..9745c98a 100644
--- a/src/flash/flash.c
+++ b/src/flash/flash.c
@@ -619,7 +619,7 @@ int handle_flash_write_image_command(struct command_context_s *cmd_ctx, char *cm
/* flash auto-erase is disabled by default*/
int auto_erase = 0;
- if (stricmp(args[0], "erase")==0)
+ if (strcmp(args[0], "erase")==0)
{
auto_erase = 1;
args++;