commit | f1306a6313d7e701001193f3a971ad7d5089f9b1 | [log] [tgz] |
---|---|---|
author | Stefan Berger <stefanb@linux.ibm.com> | Wed May 25 14:32:53 2022 -0400 |
committer | Stefan Berger <stefanb@us.ibm.com> | Wed May 25 18:54:58 2022 -0400 |
tree | e00bd5bd7af52651a7f81d2dad37cd27cd3a62e2 | |
parent | c269da78697e18af4d11659931d010f6de2dbc85 [diff] |
swtpm_ioctl: Close file descriptor at end of main (Coverity) Close the file descriptor at the end of the main function. To avoid closing random file descriptors initialize it with -1. Signed-off-by: Stefan Berger <stefanb@linux.ibm.com>