From 489dd3d2ea6d23d663f4d91e856350b5fc215479 Mon Sep 17 00:00:00 2001 From: Arman Uguray Date: Tue, 14 Jul 2015 12:32:33 -0700 Subject: [PATCH] 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 --- osi/src/config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.11.0