summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJonas Bengtsson <jonas.l.bengtsson@stericsson.com>2010-06-28 15:42:10 +0200
committerJonas Bengtsson <jonas.l.bengtsson@stericsson.com>2010-06-28 15:42:10 +0200
commit3253026a76cd935fdb55d066b66b2ac76eb530d7 (patch)
tree81d1d32e4d7d21d09f4a109e7e1ddce9ad3ede06 /src
parentf18bdb34f858f6b779ac4a16734c03fa6f9db3f2 (diff)
makefile update
Change-Id: I7ce56a8da2d50dbf3bd84c430b883a7c4b9987e1 Component: linux_b2r2lib:1.0.3:src Published-by: Published-on: Sat, 12 Jun 2010 08:08:04 +0200 Rodos: rodos 7.2.11
Diffstat (limited to 'src')
-rw-r--r--src/blt_b2r2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/blt_b2r2.c b/src/blt_b2r2.c
index 7e17d04..0b62240 100644
--- a/src/blt_b2r2.c
+++ b/src/blt_b2r2.c
@@ -19,20 +19,20 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <unistd.h>
#include "b2r2_blt.h"
#define LOG_TAG "libblt_hw"
#ifdef ANDROID
-# define LOG_TAG "libblt_hw"
# include <cutils/log.h>
# define LOGE2(...) LOGE(__VA_ARGS__)
# define LOGI2(...) LOGI(__VA_ARGS__)
#else
# define LOGE(format) fprintf(stderr, LOG_TAG format "\n")
# define LOGE2(format, ...) fprintf(stderr, LOG_TAG format "\n", __VA_ARGS__)
-# define LOGI2(...) printf(LOG_TAG format "\n", __VA_ARGS__)
+# define LOGI2(format, ...) printf(LOG_TAG format "\n", __VA_ARGS__)
#endif
#define B2R2_BLT_DEV "/dev/b2r2_blt"