[compiler-rt] Fix typo in DeadlockDetector (chanding->changing)
authorMarcoFalke <falke.marco@gmail.com>
Wed, 10 Nov 2021 20:53:31 +0000 (21:53 +0100)
committerMarcoFalke <falke.marco@gmail.com>
Wed, 10 Nov 2021 20:51:47 +0000 (21:51 +0100)
compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h

index b80cff460edab3d01d9bc4dc2e161444dd5d4fa3..0749f633b4bcf54c41f82b1193fba59fa7eb9c69 100644 (file)
@@ -293,7 +293,7 @@ class DeadlockDetector {
   }
 
   // Returns true iff dtls is empty (no locks are currently held) and we can
-  // add the node to the currently held locks w/o chanding the global state.
+  // add the node to the currently held locks w/o changing the global state.
   // This operation is thread-safe as it only touches the dtls.
   bool onFirstLock(DeadlockDetectorTLS<BV> *dtls, uptr node, u32 stk = 0) {
     if (!dtls->empty()) return false;