Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF)
Change-Id: I52fce957db06c281e2618daa4e2ecba19974f2eb
diff --git a/libdiskconfig/diskutils.c b/libdiskconfig/diskutils.c
index be35763..e325735 100644
--- a/libdiskconfig/diskutils.c
+++ b/libdiskconfig/diskutils.c
@@ -42,18 +42,18 @@
ALOGI("Writing RAW image '%s' to '%s' (offset=%llu)", src, dst, offset);
if ((src_fd = open(src, O_RDONLY)) < 0) {
- LOGE("Could not open %s for reading (errno=%d).", src, errno);
+ ALOGE("Could not open %s for reading (errno=%d).", src, errno);
goto fail;
}
if (!test) {
if ((dst_fd = open(dst, O_RDWR)) < 0) {
- LOGE("Could not open '%s' for read/write (errno=%d).", dst, errno);
+ ALOGE("Could not open '%s' for read/write (errno=%d).", dst, errno);
goto fail;
}
if (lseek64(dst_fd, offset, SEEK_SET) != offset) {
- LOGE("Could not seek to offset %lld in %s.", offset, dst);
+ ALOGE("Could not seek to offset %lld in %s.", offset, dst);
goto fail;
}
}
@@ -63,7 +63,7 @@
/* XXX: Should we not even bother with EINTR? */
if (errno == EINTR)
continue;
- LOGE("Error (%d) while reading from '%s'", errno, src);
+ ALOGE("Error (%d) while reading from '%s'", errno, src);
goto fail;
}
@@ -84,7 +84,7 @@
/* XXX: Should we not even bother with EINTR? */
if (errno == EINTR)
continue;
- LOGE("Error (%d) while writing to '%s'", errno, dst);
+ ALOGE("Error (%d) while writing to '%s'", errno, dst);
goto fail;
}
if (!tmp)
@@ -94,7 +94,7 @@
}
if (!done) {
- LOGE("Exited read/write loop without setting flag! WTF?!");
+ ALOGE("Exited read/write loop without setting flag! WTF?!");
goto fail;
}