error handling: the error number is not part of the user interface
[fw/openocd] / src / jtag / core.c
index 6e923bd47a3a3c95ecdab59cc0af19f86803f690..0c222db91e2193c3b72b0b933e87f80f609daa45 100644 (file)
@@ -695,7 +695,7 @@ void jtag_add_reset(int req_tlr_or_trst, int req_srst)
                        retval = jtag_execute_queue();
 
                if (retval != ERROR_OK) {
-                       LOG_ERROR("TRST/SRST error %d", retval);
+                       LOG_ERROR("TRST/SRST error");
                        return;
                }
        }