qdl: fix error message referring to ttyUSB1
Since it is by no means certain that the current tty is ttyUSB1, do not assume it to be so. Unfortunately we do not know the current tty in main(). It would be possible to refactor the code so that we could print the current tty, but since the only consumer of that information would be this error message, that refactoring seems unjustified. Signed-off-by:Niklas Cassel <niklas.cassel@linaro.org> Signed-off-by:
Bjorn Andersson <bjorn.andersson@linaro.org>
Please register or sign in to comment