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/util/run_command.cc b/aos/util/run_command.cc
index 2b08cb2..40782da 100644
--- a/aos/util/run_command.cc
+++ b/aos/util/run_command.cc
@@ -21,14 +21,14 @@
sigemptyset(&to_block);
sigaddset(&to_block, SIGCHLD);
if (sigprocmask(SIG_BLOCK, &to_block, &original_blocked_) == -1) {
- PLOG(FATAL, "sigprocmask(SIG_BLOCK, %p, %p) failed",
- &to_block, &original_blocked_);
+ AOS_PLOG(FATAL, "sigprocmask(SIG_BLOCK, %p, %p) failed", &to_block,
+ &original_blocked_);
}
}
~BlockSIGCHLD() {
if (sigprocmask(SIG_SETMASK, &original_blocked_, nullptr) == -1) {
- PLOG(FATAL, "sigprocmask(SIG_SETMASK, %p, nullptr) failed",
- &original_blocked_);
+ AOS_PLOG(FATAL, "sigprocmask(SIG_SETMASK, %p, nullptr) failed",
+ &original_blocked_);
}
}