Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e07425d authored by John Reck's avatar John Reck Committed by android-build-merger
Browse files

Merge "Dumping a trace isn\'t an error" into nyc-dev

am: 9767bd89

* commit '9767bd89':
  Dumping a trace isn't an error
parents 26acfb70 9767bd89
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -771,7 +771,7 @@ static void streamTrace()
// Read the current kernel trace and write it to stdout.
// Read the current kernel trace and write it to stdout.
static void dumpTrace()
static void dumpTrace()
{
{
    ALOGE("Dumping trace");
    ALOGI("Dumping trace");
    int traceFD = open(k_tracePath, O_RDWR);
    int traceFD = open(k_tracePath, O_RDWR);
    if (traceFD == -1) {
    if (traceFD == -1) {
        fprintf(stderr, "error opening %s: %s (%d)\n", k_tracePath,
        fprintf(stderr, "error opening %s: %s (%d)\n", k_tracePath,