diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-09-08 14:15:40 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-09-08 14:15:40 -0500 |
commit | 110dfb9e2ecc952bdbbce31f2d30010c952d65bd (patch) | |
tree | 85e47d350831685de1b04eaf2694d00f69507094 /src | |
parent | 17cb0ce3c4a936ed38109d1455178eb14f18ea07 (diff) | |
download | ofono-110dfb9e2ecc952bdbbce31f2d30010c952d65bd.tar.bz2 |
Fix style issue
Diffstat (limited to 'src')
-rw-r--r-- | src/sim.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -641,9 +641,9 @@ static gboolean cache_record(const char *path, int current, int record_len, return FALSE; if (lseek(fd, (current - 1) * record_len + - SIM_CACHE_HEADER_SIZE, SEEK_SET) != - (off_t) -1) + SIM_CACHE_HEADER_SIZE, SEEK_SET) != (off_t) -1) r = TFR(write(fd, data, record_len)); + TFR(close(fd)); if (r < record_len) { |