diff options
-rw-r--r-- | liblog/logd_reader.c | 2 |
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 = { static int logdAvailable(log_id_t logId) { - if (logId >= LOG_ID_MAX || logId == LOG_ID_KERNEL) { + if (logId > LOG_ID_KERNEL) { return -EINVAL; } if (logId == LOG_ID_SECURITY) { |