]> git.gag.com Git - fw/openocd/blobdiff - src/flash/nor/str9x.c
error handling: the error number is not part of the user interface
[fw/openocd] / src / flash / nor / str9x.c
index 8f8e83c885c249e3e1165e739f0b121ae86dfeef..303daa045ae823f41a44e4b4a171ca312b416d85 100644 (file)
@@ -562,7 +562,7 @@ static int str9x_write(struct flash_bank *bank,
                        }
                        else if (retval == ERROR_FLASH_OPERATION_FAILED)
                        {
-                               LOG_ERROR("flash writing failed with error code: 0x%x", retval);
+                               LOG_ERROR("flash writing failed");
                                return ERROR_FLASH_OPERATION_FAILED;
                        }
                }