summaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorPaul Kocialkowski <contact@paulk.fr>2013-12-20 22:29:42 +0100
committerPaul Kocialkowski <contact@paulk.fr>2013-12-20 22:29:42 +0100
commitc8408cd2c116b0b99a399282032b6607a1318b84 (patch)
tree536ad6926d7ab2808ed35d5f9cac69ce76c5d9a6 /util.c
parent8d0081ae32ea13821166bb11c6034e966c23a5cc (diff)
downloadhardware_replicant_libsamsung-ril-c8408cd2c116b0b99a399282032b6607a1318b84.tar.gz
hardware_replicant_libsamsung-ril-c8408cd2c116b0b99a399282032b6607a1318b84.tar.bz2
hardware_replicant_libsamsung-ril-c8408cd2c116b0b99a399282032b6607a1318b84.zip
RIL_LOG macro to log messagesreplicant-4.2-0002replicant-4.2-0001
Signed-off-by: Paul Kocialkowski <contact@paulk.fr>
Diffstat (limited to 'util.c')
-rw-r--r--util.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/util.c b/util.c
index e0943c1..5d73d2c 100644
--- a/util.c
+++ b/util.c
@@ -294,7 +294,7 @@ void hex_dump(void *data, int size)
if (n%16 == 0) {
/* line completed */
- LOGD("[%4.4s] %-50.50s %s", addrstr, hexstr, charstr);
+ RIL_LOGD("[%4.4s] %-50.50s %s", addrstr, hexstr, charstr);
hexstr[0] = 0;
charstr[0] = 0;
} else if (n%8 == 0) {
@@ -307,7 +307,7 @@ void hex_dump(void *data, int size)
if (strlen(hexstr) > 0) {
/* print rest of buffer if not empty */
- LOGD("[%4.4s] %-50.50s %s\n", addrstr, hexstr, charstr);
+ RIL_LOGD("[%4.4s] %-50.50s %s\n", addrstr, hexstr, charstr);
}
}