summaryrefslogtreecommitdiffstats
path: root/trusty/storage
diff options
context:
space:
mode:
Diffstat (limited to 'trusty/storage')
-rw-r--r--trusty/storage/lib/storage.c6
-rw-r--r--trusty/storage/proxy/log.h3
2 files changed, 5 insertions, 4 deletions
diff --git a/trusty/storage/lib/storage.c b/trusty/storage/lib/storage.c
index 8130f769a..3002c0bde 100644
--- a/trusty/storage/lib/storage.c
+++ b/trusty/storage/lib/storage.c
@@ -14,6 +14,8 @@
* limitations under the License.
*/
+#define LOG_TAG "trusty_storage_client"
+
#include <errno.h>
#include <stdarg.h>
#include <stdbool.h>
@@ -21,12 +23,10 @@
#include <string.h>
#include <sys/uio.h>
+#include <android/log.h>
#include <trusty/tipc.h>
#include <trusty/lib/storage.h>
-#define LOG_TAG "trusty_storage_client"
-#include <cutils/log.h>
-
#define MAX_CHUNK_SIZE 4040
static inline file_handle_t make_file_handle(storage_session_t s, uint32_t fid)
diff --git a/trusty/storage/proxy/log.h b/trusty/storage/proxy/log.h
index 471cb500f..3d2e65460 100644
--- a/trusty/storage/proxy/log.h
+++ b/trusty/storage/proxy/log.h
@@ -15,5 +15,6 @@
*/
#define LOG_TAG "storageproxyd"
-#include <cutils/log.h>
+
+#include <android/log.h>