diff options
author | Robert C. Helling <helling@atdotde.de> | 2019-11-15 10:51:41 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-11-16 12:34:30 -0800 |
commit | 143da031cee94a7d44668be52f90f2b3ec33c822 (patch) | |
tree | 41e0849ab1a5a286d4b242936d025569835b3615 /core/dive.c | |
parent | f370446236b170517f9eb248d5421e0f0e22002e (diff) | |
download | subsurface-143da031cee94a7d44668be52f90f2b3ec33c822.tar.gz |
Use the actual error number
According to the man page, fopen and fclose return
the error number in the global variable errno.
Fixes CID 350115
Signed-off-by: Robert C. Helling <helling@atdotde.de>
Diffstat (limited to 'core/dive.c')
0 files changed, 0 insertions, 0 deletions