From b4d19dead949a262c14af0a4515e7fbceac69373 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes Date: Wed, 15 Sep 2010 17:33:39 +0200 Subject: [PATCH] EEPROM: Add missing closing brace --- src/ftdi.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/src/ftdi.c b/src/ftdi.c index c9492f5..7d27134 100644 --- 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 */ -- 1.7.1