git://developer.intra2net.com
/
ftdi_eeprom
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
020d384
)
ftdi_eeprom: (tomj) improved error output
author
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 7 Aug 2006 08:45:08 +0000 (08:45 +0000)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 7 Aug 2006 08:45:08 +0000 (08:45 +0000)
src/main.c
patch
|
blob
|
blame
|
history
diff --git
a/src/main.c
b/src/main.c
index
fce51b7
..
1cd5efc
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-134,7
+134,7
@@
int main(int argc, char *argv[]) {
i = ftdi_usb_open(&ftdi, 0x0403, 0x6001);
if (i != 0) {
- printf("Sorry, unable to find FTDI USB chip\n");
+ printf("Error: %s\n", ftdi.error_str);
exit (-1);
}
}