- flash.c change stricmp to strcmp
authorntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 19 Apr 2008 17:39:52 +0000 (17:39 +0000)
committerntfreak <ntfreak@b42882b7-edfa-0310-969c-e2dbd0fdcd60>
Sat, 19 Apr 2008 17:39:52 +0000 (17:39 +0000)
git-svn-id: svn://svn.berlios.de/openocd/trunk@595 b42882b7-edfa-0310-969c-e2dbd0fdcd60

src/flash/flash.c

index 6c3242d2891514f6a54916077d1d775736fcc318..9745c98a0b1fa56a369fe409714dad249b49a4c0 100644 (file)
@@ -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++;