Prefix LOG and CHECK with AOS_
This prepares us for introducing glog more widely and transitioning
things over where they make sense.
Change-Id: Ic6c208882407bc2153fe875ffc736d66f5c8ade5
diff --git a/aos/mutex/mutex.cc b/aos/mutex/mutex.cc
index a35f0cd..c5570aa 100644
--- a/aos/mutex/mutex.cc
+++ b/aos/mutex/mutex.cc
@@ -19,8 +19,8 @@
} else if (ret == 1) {
return true;
} else {
- LOG(FATAL, "mutex_grab(%p(=%" PRIu32 ")) failed with %d\n",
- &impl_, impl_.futex, ret);
+ AOS_LOG(FATAL, "mutex_grab(%p(=%" PRIu32 ")) failed with %d\n", &impl_,
+ impl_.futex, ret);
}
}
@@ -38,8 +38,8 @@
case 4:
return State::kLockFailed;
default:
- LOG(FATAL, "mutex_trylock(%p(=%" PRIu32 ")) failed with %d\n",
- &impl_, impl_.futex, ret);
+ AOS_LOG(FATAL, "mutex_trylock(%p(=%" PRIu32 ")) failed with %d\n", &impl_,
+ impl_.futex, ret);
}
}