commit | 5a2b0f1588451eab355c55f4e63f1d21364513d2 | [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 | 959e907d6b87eccee7b3296c88c563a3db1e3978 [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>