From f57f89bfec2a00196ae3ec427f7f723f0b2f4760 Mon Sep 17 00:00:00 2001 From: Rene Liebscher Date: Tue, 17 Jun 2014 20:27:37 +0000 Subject: [PATCH] avrftdi_private.h: added missing msg level for avrdude_message in E/E_VOID macros git-svn-id: svn://svn.savannah.nongnu.org/avrdude/trunk/avrdude@1323 81a1dc3b-b13d-400b-aceb-764788c761c2 --- ChangeLog | 5 +++++ avrftdi_private.h | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 978d682f..14f46334 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2014-06-17 Rene Liebscher + + * avrftdi_private.h: added missing msg level for avrdude_message + in E/E_VOID macros + 2014-06-17 Rene Liebscher Removing exit calls from config parser diff --git a/avrftdi_private.h b/avrftdi_private.h index b0063067..e89d250e 100644 --- a/avrftdi_private.h +++ b/avrftdi_private.h @@ -40,7 +40,7 @@ enum { ERR, WARN, INFO, DEBUG, TRACE }; do { \ if ((x)) \ { \ - avrdude_message("%s:%d %s() %s: %s (%d)\n\t%s\n", \ + avrdude_message(MSG_INFO, "%s:%d %s() %s: %s (%d)\n\t%s\n", \ __FILE__, __LINE__, __FUNCTION__, \ #x, strerror(errno), errno, ftdi_get_error_string(ftdi)); \ return -1; \ @@ -51,7 +51,7 @@ enum { ERR, WARN, INFO, DEBUG, TRACE }; do { \ if ((x)) \ { \ - avrdude_message("%s:%d %s() %s: %s (%d)\n\t%s\n", \ + avrdude_message(MSG_INFO, "%s:%d %s() %s: %s (%d)\n\t%s\n", \ __FILE__, __LINE__, __FUNCTION__, \ #x, strerror(errno), errno, ftdi_get_error_string(ftdi)); \ } \