summaryrefslogtreecommitdiffstats
path: root/libdiskconfig/write_lst.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/write_lst.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/write_lst.c')
-rw-r--r--libdiskconfig/write_lst.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libdiskconfig/write_lst.c b/libdiskconfig/write_lst.c
index d99a80774..826ef7a3c 100644
--- a/libdiskconfig/write_lst.c
+++ b/libdiskconfig/write_lst.c
@@ -32,7 +32,7 @@ alloc_wl(uint32_t data_len)
struct write_list *item;
if (!(item = malloc(sizeof(struct write_list) + data_len))) {
- LOGE("Unable to allocate memory.");
+ ALOGE("Unable to allocate memory.");
return NULL;
}
@@ -71,13 +71,13 @@ wlist_commit(int fd, struct write_list *lst, int test)
{
for(; lst; lst = lst->next) {
if (lseek64(fd, lst->offset, SEEK_SET) != (loff_t)lst->offset) {
- LOGE("Cannot seek to the specified position (%lld).", lst->offset);
+ ALOGE("Cannot seek to the specified position (%lld).", lst->offset);
goto fail;
}
if (!test) {
if (write(fd, lst->data, lst->len) != (int)lst->len) {
- LOGE("Failed writing %u bytes at position %lld.", lst->len,
+ ALOGE("Failed writing %u bytes at position %lld.", lst->len,
lst->offset);
goto fail;
}