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

Commit 210b74a7 authored by MarcKe's avatar MarcKe
Browse files

healthd: more descriptive LED path opening error message

Change-Id: I6e3fa9e34a471c387a62dfc3318fd94620a30cd7
parent 9942c546
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -228,7 +228,7 @@ static int set_tricolor_led(int on, int color)
        if ((color & leds[i].color) && (access(leds[i].path, R_OK | W_OK) == 0)) {
            fd = open(leds[i].path, O_RDWR);
            if (fd < 0) {
                LOGE("Could not open red led node\n");
                LOGE("Could not open led node %d\n", i);
                continue;
            }
            if (on)