Skip to content

Commit 8a386b2

Browse files
committed
[sanitizer] Fix text in error message
1 parent 43ae4b6 commit 8a386b2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

compiler-rt/lib/sanitizer_common/sanitizer_common.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,8 +66,8 @@ void NORETURN ReportMunmapFailureAndDie(void *addr, uptr size, error_t err,
6666
static int recursion_count;
6767
if (raw_report || recursion_count) {
6868
// If raw report is requested or we went into recursion just die. The
69-
// Report() and CHECK calls below may call mmap recursively and fail.
70-
RawWrite("ERROR: Failed to mmap\n");
69+
// Report() and CHECK calls below may call munmap recursively and fail.
70+
RawWrite("ERROR: Failed to munmap\n");
7171
Die();
7272
}
7373
recursion_count++;

0 commit comments

Comments
 (0)