error handling: the error number is not part of the user interface
[fw/openocd] / src / target / cortex_m3.c
index 93c88c0933c47c934e6aa19385edc629153642f8..f6918afaa29420630dedb33207bad818ec0155c3 100644 (file)
@@ -1533,7 +1533,7 @@ static int cortex_m3_store_core_reg_u32(struct target *target,
                {
                        struct reg *r;
 
-                       LOG_ERROR("JTAG failure %i", retval);
+                       LOG_ERROR("JTAG failure");
                        r = armv7m->core_cache->reg_list + num;
                        r->dirty = r->valid;
                        return ERROR_JTAG_DEVICE_ERROR;