- rename log functions to stop conflicts under win32 (wingdi)
[fw/openocd] / src / flash / non_cfi.c
index dbb02b0ca627dfa61ae1c4fec9e11e7acff77340..74334126a761d8b56aec780504e6584ecbc2f531 100644 (file)
@@ -250,7 +250,7 @@ void cfi_fixup_non_cfi(flash_bank_t *bank, void *param)
                cfi_info->pri_ext = pri_ext;
        } else if ((cfi_info->pri_id == 0x1) || (cfi_info->pri_id == 0x3))
        {
-               ERROR("BUG: non-CFI flashes using the Intel commandset are not yet supported");
+               LOG_ERROR("BUG: non-CFI flashes using the Intel commandset are not yet supported");
                exit(-1);
        }
 }