diff options
author | MarcKe <herderkewitz@googlemail.com> | 2015-01-25 22:43:56 +0100 |
---|---|---|
committer | Steve Kondik <steve@cyngn.com> | 2015-10-30 17:01:09 -0700 |
commit | 3533500566093619d97e46574184a746f1d4e805 (patch) | |
tree | dc3dc1a636ba82517635d52e5d4580fcf366b73a /healthd | |
parent | e72aba1b407f8b6e4bacb827f665e5be77c7124e (diff) | |
download | system_core-3533500566093619d97e46574184a746f1d4e805.zip system_core-3533500566093619d97e46574184a746f1d4e805.tar.gz system_core-3533500566093619d97e46574184a746f1d4e805.tar.bz2 |
healthd: more descriptive LED path opening error message
Change-Id: I6e3fa9e34a471c387a62dfc3318fd94620a30cd7
Diffstat (limited to 'healthd')
-rw-r--r-- | healthd/healthd_mode_charger.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/healthd/healthd_mode_charger.cpp b/healthd/healthd_mode_charger.cpp index 3328154..7ebbdfb 100644 --- a/healthd/healthd_mode_charger.cpp +++ b/healthd/healthd_mode_charger.cpp @@ -220,7 +220,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) |