]> sigrok.org Git - libsigrok.git/blobdiff - src/hardware/baylibre-acme/protocol.c
baylibre-acme: Replace g_close() with close() for now.
[libsigrok.git] / src / hardware / baylibre-acme / protocol.c
index 6726667ed78d3d29888d4d4bb8ed927de8608de6..0bef0b22bdfe7cb9aef7170d47c571463b48ada8 100644 (file)
@@ -277,7 +277,7 @@ static int read_probe_eeprom(unsigned int addr, struct probe_eeprom *eeprom)
                return -1;
 
        rd = read(fd, eeprom_buf, EEPROM_SIZE);
-       g_close(fd, NULL);
+       close(fd);
        if (rd != EEPROM_SIZE)
                return -1;