diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-11-29 15:27:40 -0500 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2016-11-30 15:51:13 -0500 |
commit | d702dcdfef04512fa1529acece6d84ea58740d74 (patch) | |
tree | 1972a8aca9eed08230ce9bb84b51a15c4d9ea350 /test/hwdb-test.sh | |
parent | 1cd592b91679f3a04fe884d51dd2b9d65eb5f2f9 (diff) |
hwdb: simplify error handling in trie_store
fclose() can also set errno, so the attempts to protect errno that the
code made were not successful. Simplify things by immediately saving
errno to r.
Diffstat (limited to 'test/hwdb-test.sh')
0 files changed, 0 insertions, 0 deletions