[OpenMP] Fix the wrong use of `fopen`
authorShilei Tian <i@tianshilei.me>
Fri, 24 Feb 2023 00:12:51 +0000 (19:12 -0500)
committerShilei Tian <i@tianshilei.me>
Fri, 24 Feb 2023 00:12:58 +0000 (19:12 -0500)
commit22cd105a664b1106e0881b821bc58099eca8cdb4
tree8c249137d273c34357822ce9056e2200d127d31d
parent401f768061e6b7498f6f5d50f8e31143c4d6ae2d
[OpenMP] Fix the wrong use of `fopen`

This patch fixes the wrong use of `fopen`.

Fix https://github.com/llvm/llvm-project/issues/60934

Reviewed By: jdoerfert

Differential Revision: https://reviews.llvm.org/D144601
openmp/runtime/src/kmp_runtime.cpp