diff --git a/src/mares_iconhd.c b/src/mares_iconhd.c index c2c5d49..deb3f03 100644 --- a/src/mares_iconhd.c +++ b/src/mares_iconhd.c @@ -118,6 +118,7 @@ mares_iconhd_device_open (device_t **out, const char* name) // Set the default values. device->port = NULL; + memset (device->fingerprint, 0, sizeof (device->fingerprint)); // Open the device. int rc = serial_open (&device->port, name);