From: Arman Uguray Date: Tue, 14 Jul 2015 19:32:33 +0000 (-0700) Subject: osi: Fix compile error due to API change on AOSP X-Git-Tag: android-x86-7.1-r1~522^2~360 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=489dd3d2ea6d23d663f4d91e856350b5fc215479;p=android-x86%2Fsystem-bt.git osi: Fix compile error due to API change on AOSP All LOG_* functions require a first argument "tag", which was added on AOSP. Change-Id: I2e678baa5da1cbf7073291983a0339dade6abca8 --- diff --git a/osi/src/config.c b/osi/src/config.c index d9ac70dbd..ce1d6c9e6 100644 --- a/osi/src/config.c +++ b/osi/src/config.c @@ -286,7 +286,7 @@ bool config_save(const config_t *config, const char *filename) { // 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; }