git://developer.intra2net.com
/
libftdi
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
d45d664
)
EEPROM: Add missing closing brace
author
Uwe Bonnes
<bon@elektron.ikp.physik.tu-darmstadt.de>
Wed, 15 Sep 2010 15:33:39 +0000 (17:33 +0200)
committer
Thomas Jarosch
<thomas.jarosch@intra2net.com>
Mon, 20 Sep 2010 13:34:45 +0000 (15:34 +0200)
src/ftdi.c
patch
|
blob
|
blame
|
history
diff --git
a/src/ftdi.c
b/src/ftdi.c
index
c9492f5
..
7d27134
100644
(file)
--- a/
src/ftdi.c
+++ b/
src/ftdi.c
@@
-105,7
+105,7
@@
int ftdi_init(struct ftdi_context *ftdi)
if (eeprom == 0)
ftdi_error_return(-2, "Can't malloc struct ftdi_eeprom");
- memset(eeprom, 0, sizeof(struct ftdi_eeprom);
+ memset(eeprom, 0, sizeof(struct ftdi_eeprom));
ftdi->eeprom = eeprom;
/* All fine. Now allocate the readbuffer */