commit | 7e99e14d4ba2533a07adc3d97e06cadc41d12908 | [log] [tgz] |
---|---|---|
author | Michael Heimpold <mhei@heimpold.de> | Mon May 20 21:34:42 2013 +0200 |
committer | Tom Rini <trini@konsulko.com> | Sat Jul 22 15:36:16 2017 -0400 |
tree | 6f928534561fd82ad247120f1179431f07900e6a | |
parent | aae6f016a7928edc79dff78d1235103fff282a34 [diff] |
tools/fw_env: use fsync to ensure that data is physically stored Closing a file descriptor does not guarantee that the data has been successfully saved to disk, as the kernel might defer the write. Signed-off-by: Michael Heimpold <mhei@heimpold.de>