diff options
author | Pawit Pornkitprasan <p.pawit@gmail.com> | 2012-07-14 19:40:13 +0700 |
---|---|---|
committer | Pawit Pornkitprasan <p.pawit@gmail.com> | 2012-07-14 19:40:13 +0700 |
commit | 9e9cbf2798ae64f48b25a5716bbdeb43e36e32cf (patch) | |
tree | 78decdc46aa76a0fd3cf00bbb371966571cf902e /libsensors/SensorBase.cpp | |
parent | 83f873cb99c5827c794c31b6e0003e12b05069e3 (diff) | |
download | device_samsung_aries-common-9e9cbf2798ae64f48b25a5716bbdeb43e36e32cf.zip device_samsung_aries-common-9e9cbf2798ae64f48b25a5716bbdeb43e36e32cf.tar.gz device_samsung_aries-common-9e9cbf2798ae64f48b25a5716bbdeb43e36e32cf.tar.bz2 |
jellybean bring up
Change-Id: I19a95c3c8613a81d02f1146941fcb2f9ecc4efae
Diffstat (limited to 'libsensors/SensorBase.cpp')
-rw-r--r-- | libsensors/SensorBase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libsensors/SensorBase.cpp b/libsensors/SensorBase.cpp index d448eb2..79b1ee2 100644 --- a/libsensors/SensorBase.cpp +++ b/libsensors/SensorBase.cpp @@ -53,7 +53,7 @@ SensorBase::~SensorBase() { int SensorBase::open_device() { if (dev_fd<0 && dev_name) { dev_fd = open(dev_name, O_RDONLY); - LOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); + ALOGE_IF(dev_fd<0, "Couldn't open %s (%s)", dev_name, strerror(errno)); } return 0; } @@ -123,6 +123,6 @@ int SensorBase::openInput(const char* inputName) { } } closedir(dir); - LOGE_IF(fd<0, "couldn't find '%s' input device", inputName); + ALOGE_IF(fd<0, "couldn't find '%s' input device", inputName); return fd; } |