All LOG_* functions require a first argument "tag", which was added on AOSP.
Change-Id: I2e678baa5da1cbf7073291983a0339dade6abca8
// Change the file's permissions to Read/Write by User and Group
if (chmod(temp_filename, S_IRUSR | S_IWUSR | S_IRGRP | S_IWGRP) == -1) {
- LOG_ERROR("%s unable to change file permissions '%s': %s", __func__, filename, strerror(errno));
+ LOG_ERROR(LOG_TAG, "%s unable to change file permissions '%s': %s", __func__, filename, strerror(errno));
goto error;
}