baylibre-acme: Replace g_close() with close() for now.
This g_close(), the only one in the whole code-base, would unnecessarily raise the minimum glib version to 2.36. Thanks to Daniel Glöckner for the report. This fixes bug #724.
This commit is contained in:
parent
8c52989811
commit
e43887683c
|
@ -277,7 +277,7 @@ static int read_probe_eeprom(unsigned int addr, struct probe_eeprom *eeprom)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
rd = read(fd, eeprom_buf, EEPROM_SIZE);
|
rd = read(fd, eeprom_buf, EEPROM_SIZE);
|
||||||
g_close(fd, NULL);
|
close(fd);
|
||||||
if (rd != EEPROM_SIZE)
|
if (rd != EEPROM_SIZE)
|
||||||
return -1;
|
return -1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue