Skip to content

Commit

Permalink
Clarify error message when failing to open a port
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanrueger committed Oct 6, 2023
1 parent e7e1e0e commit 6c4f6ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -1275,7 +1275,7 @@ int main(int argc, char * argv [])

rc = pgm->open(pgm, port);
if (rc < 0) {
pmsg_error("unable to open programmer %s on port %s\n", pgmid, port);
pmsg_error("unable to open port %s for programmer %s\n", port, pgmid);
if (print_ports && pgm->conntype == CONNTYPE_SERIAL) {
list_available_serialports(programmers);
if(touch_1200bps == 1)
Expand Down

0 comments on commit 6c4f6ba

Please sign in to comment.