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:
Uwe Hermann 2016-01-03 02:51:01 +01:00
parent 8c52989811
commit e43887683c
1 changed files with 1 additions and 1 deletions

View 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;