error handling: the error number is not part of the user interface
[fw/openocd] / src / jtag / transport.c
index 503b57b6b19771029e7a117396059ad02e481640..5033ebc6df4a8ce498f6c79d4f781bef131c98f6 100644 (file)
@@ -82,8 +82,8 @@ static  int transport_select(struct command_context *ctx, const char *name)
                        if (retval == ERROR_OK)
                                session = t;
                        else
-                               LOG_ERROR("Error %d selecting '%s' as "
-                                       "transport", retval, t->name);
+                               LOG_ERROR("Error selecting '%s' as "
+                                       "transport", t->name);
                        return retval;
                }
        }