OSDN Git Service

Fix build: add LOG_TAG parameter to LOG_* macros.
authorSharvil Nanavati <sharvil@google.com>
Tue, 15 Sep 2015 04:47:53 +0000 (21:47 -0700)
committerSharvil Nanavati <sharvil@google.com>
Tue, 15 Sep 2015 04:47:53 +0000 (21:47 -0700)
Change-Id: I455fdde6264cd17cd2b73dbd1f70c68e7d632ec7

osi/src/alarm.c

index 022c648..d8691be 100644 (file)
@@ -463,7 +463,7 @@ static bool timer_create_internal(const clockid_t clock_id, timer_t *timer) {
   sigevent.sigev_notify = SIGEV_THREAD;
   sigevent.sigev_notify_function = (void (*)(union sigval))timer_callback;
   if (timer_create(clock_id, &sigevent, timer) == -1) {
-    LOG_ERROR("%s unable to create timer with clock %d: %s", __func__, clock_id, strerror(errno));
+    LOG_ERROR(LOG_TAG, "%s unable to create timer with clock %d: %s", __func__, clock_id, strerror(errno));
     return false;
   }