diff --git a/src/main.c b/src/main.c index 6fd432ec..8bc051a9 100644 --- a/src/main.c +++ b/src/main.c @@ -1061,6 +1061,9 @@ int main(int argc, char * argv []) rc = pgm->open(pgm, port); if (rc < 0) { + avrdude_message(MSG_INFO, + "%s: opening programmer \"%s\" on port \"%s\" failed\n", + progname, programmer, port); exitrc = 1; pgm->ppidata = 0; /* clear all bits at exit */ goto main_exit;