summaryrefslogtreecommitdiffstats
path: root/logd/LogReader.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logd/LogReader.cpp')
-rw-r--r--logd/LogReader.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/logd/LogReader.cpp b/logd/LogReader.cpp
index c7deec0..3833843 100644
--- a/logd/LogReader.cpp
+++ b/logd/LogReader.cpp
@@ -95,7 +95,7 @@ bool LogReader::onDataAvailable(SocketClient *cli) {
}
bool nonBlock = false;
- if (strncmp(buffer, "dumpAndClose", 12) == 0) {
+ if (!fast<strncmp>(buffer, "dumpAndClose", 12)) {
// Allow writer to get some cycles, and wait for pending notifications
sched_yield();
LogTimeEntry::lock();