summaryrefslogtreecommitdiffstats
path: root/libdiskconfig/diskutils.c
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-06 14:13:42 +0000
committerSteve Block <steveblock@google.com>2012-01-08 11:03:26 +0000
commit01dda204cd28fe181691b4a44a51be7e5666d0c8 (patch)
tree99ef6d14b55ebf4e2752cd182052caad6eddc20a /libdiskconfig/diskutils.c
parent36afde3387fff9eac0e6d54854b8d43fe1ebb0cc (diff)
downloadsystem_core-01dda204cd28fe181691b4a44a51be7e5666d0c8.tar.gz
system_core-01dda204cd28fe181691b4a44a51be7e5666d0c8.tar.bz2
system_core-01dda204cd28fe181691b4a44a51be7e5666d0c8.zip
Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE
Bug: 5449033 Change-Id: Ibcffdcf620ebae1c389446ce8e9d908f11ac039c
Diffstat (limited to 'libdiskconfig/diskutils.c')
-rw-r--r--libdiskconfig/diskutils.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libdiskconfig/diskutils.c b/libdiskconfig/diskutils.c
index be35763e8..e32573543 100644
--- a/libdiskconfig/diskutils.c
+++ b/libdiskconfig/diskutils.c
@@ -42,18 +42,18 @@ write_raw_image(const char *dst, const char *src, loff_t offset, int test)
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 @@ write_raw_image(const char *dst, const char *src, loff_t offset, int test)
/* 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 @@ write_raw_image(const char *dst, const char *src, loff_t offset, int test)
/* 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 @@ write_raw_image(const char *dst, const char *src, loff_t offset, int test)
}
if (!done) {
- LOGE("Exited read/write loop without setting flag! WTF?!");
+ ALOGE("Exited read/write loop without setting flag! WTF?!");
goto fail;
}