diff options
author | Benoît Ganne <bganne@cisco.com> | 2022-12-19 18:23:03 +0100 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2023-01-18 00:38:09 +0000 |
commit | cc16e7bad74c18b1a682329af5e760c4cd8381ea (patch) | |
tree | 7fc9602778155e7b851119a53833c112bf50d4e5 /test | |
parent | a35f56663fe6dde5da13fd52fa50a28080f6dd2f (diff) |
pci: fix musl crash
The musl libc does not support closedir(0) resulting in a crash. Only
call closedir() if we successfully opened it.
Type: fix
Change-Id: I3198454f44735501047afc42b94b2fea273212f4
Signed-off-by: Benoît Ganne <bganne@cisco.com>
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions