summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--liblog/logd_reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/liblog/logd_reader.c b/liblog/logd_reader.c
index 9411f36cb..ccc7da8ae 100644
--- a/liblog/logd_reader.c
+++ b/liblog/logd_reader.c
@@ -91,7 +91,7 @@ LIBLOG_HIDDEN struct android_log_transport_read logdLoggerRead = {
91 91
92static int logdAvailable(log_id_t logId) 92static int logdAvailable(log_id_t logId)
93{ 93{
94 if (logId >= LOG_ID_MAX || logId == LOG_ID_KERNEL) { 94 if (logId > LOG_ID_KERNEL) {
95 return -EINVAL; 95 return -EINVAL;
96 } 96 }
97 if (logId == LOG_ID_SECURITY) { 97 if (logId == LOG_ID_SECURITY) {