diff options
author | Ian Moffett <ian@osmora.org> | 2025-07-05 05:57:21 +0000 |
---|---|---|
committer | Ian Moffett <ian@osmora.org> | 2025-07-05 05:57:21 +0000 |
commit | c5720a3089b27fb14ffb0f46784ce9e2baa3898e (patch) | |
tree | 65b802d87d6b3ea08759f62755a317d67879775f /usr.bin | |
parent | 245d3bbac9647b3c315b4ce09310db8462f1b399 (diff) |
usr.bin: readcore: Make sure we close the dump fd
Signed-off-by: Ian Moffett <ian@osmora.org>
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/readcore/readcore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/readcore/readcore.c b/usr.bin/readcore/readcore.c index f403196..dbb6982 100644 --- a/usr.bin/readcore/readcore.c +++ b/usr.bin/readcore/readcore.c @@ -73,5 +73,6 @@ main(int argc, char **argv) } parse_core(&core); + close(fd); return 0; } |