From 1f461cd2056e1257f7e056e1bfb9f54668113092 Mon Sep 17 00:00:00 2001 From: Willem Melching Date: Fri, 20 Mar 2020 16:28:14 -0700 Subject: [PATCH] Fix linter and compiler old-commit-hash: 45410ee8a8c437c575a5b5b3dcc27cd371702362 --- selfdrive/debug/filter_log_message.py | 1 - selfdrive/logcatd/logcatd.cc | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/selfdrive/debug/filter_log_message.py b/selfdrive/debug/filter_log_message.py index 839cb7c8bc..162a6381bd 100755 --- a/selfdrive/debug/filter_log_message.py +++ b/selfdrive/debug/filter_log_message.py @@ -1,5 +1,4 @@ #!/usr/bin/env python3 -import os import argparse import json diff --git a/selfdrive/logcatd/logcatd.cc b/selfdrive/logcatd/logcatd.cc index 81fafb71d0..f1ac06f0bf 100644 --- a/selfdrive/logcatd/logcatd.cc +++ b/selfdrive/logcatd/logcatd.cc @@ -48,7 +48,7 @@ int main() { capnp::MallocMessageBuilder msg; cereal::Event::Builder event = msg.initRoot(); event.setLogMonoTime(nanos_since_boot()); - auto androidEntry = event.initAndroidLogEntry(); + auto androidEntry = event.initAndroidLog(); androidEntry.setId(log_msg.id()); androidEntry.setTs(entry.tv_sec * 1000000000ULL + entry.tv_nsec); androidEntry.setPriority(entry.priority);