diff options
Diffstat (limited to 'runtime/monitor_android.cc')
-rw-r--r-- | runtime/monitor_android.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/monitor_android.cc b/runtime/monitor_android.cc index d89290b..48c9cce 100644 --- a/runtime/monitor_android.cc +++ b/runtime/monitor_android.cc @@ -88,7 +88,7 @@ void Monitor::LogContentionEvent(Thread* self, uint32_t wait_ms, uint32_t sample cp = EventLogWriteInt(cp, line_number); // Emit the lock owner source code file name, <= 37 bytes. - if (owner_filename == NULL) { + if (owner_filename == nullptr) { owner_filename = ""; } else if (strcmp(filename, owner_filename) == 0) { // Common case, so save on log space. |