libftdi Archives

Subject: [PATCH] Typo in error message of ftdi_write_eeprom_location.

From: Matthias Brugger <matthias.bgg@xxxxxxxxx>
To: libftdi@xxxxxxxxxxxxxxxxxxxxxxx
Date: Tue, 16 Apr 2013 10:33:49 +0200
Signed-off-by: Matthias Brugger <matthias.bgg@xxxxxxxxx>
---
 src/ftdi.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ftdi.c b/src/ftdi.c
index 3c86456..a438602 100644
--- a/src/ftdi.c
+++ b/src/ftdi.c
@@ -4126,7 +4126,7 @@ int ftdi_write_eeprom_location(struct
ftdi_context *ftdi, int eeprom_addr,
     }

     if (ftdi_read_eeprom_location( ftdi, chip_type_location>>1, &chip_type))
-        ftdi_error_return(-5, "Reading failed failed");
+        ftdi_error_return(-5, "Reading failed");
     fprintf(stderr," loc 0x%04x val 0x%04x\n", chip_type_location,chip_type);
     if ((chip_type & 0xff) != 0x66)
     {
--
1.7.9.5

--
libftdi - see http://www.intra2net.com/en/developer/libftdi for details.
To unsubscribe send a mail to libftdi+unsubscribe@xxxxxxxxxxxxxxxxxxxxxxx   

Current Thread