summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/Common/Filesystem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/Common/Filesystem.cpp b/lld/Common/Filesystem.cpp
index 0b47ac7c69c..c3d3f998f03 100644
--- a/lld/Common/Filesystem.cpp
+++ b/lld/Common/Filesystem.cpp
@@ -41,7 +41,7 @@ using namespace lld;
void lld::unlinkAsync(StringRef path) {
// Removing a file is async on windows.
#if defined(_WIN32)
- sys::fs::remove(Path);
+ sys::fs::remove(path);
#else
if (!threadsEnabled || !sys::fs::exists(path) ||
!sys::fs::is_regular_file(path))
OpenPOWER on IntegriCloud