summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorforkbomb <keepcalm444@gmail.com>2015-11-23 18:37:37 +1100
committerforkbomb <keepcalm444@gmail.com>2015-11-23 18:57:25 +1100
commite0568e128bc93ce4473438e1ef95dbbebb41b850 (patch)
treeea0883f5dddb0bf188d53e30a85ed1d19129e571
parentdbf394e8477a258df05fcf76feb267888931e18a (diff)
downloadandroid_hardware_samsung-e0568e128bc93ce4473438e1ef95dbbebb41b850.tar.gz
android_hardware_samsung-e0568e128bc93ce4473438e1ef95dbbebb41b850.tar.bz2
android_hardware_samsung-e0568e128bc93ce4473438e1ef95dbbebb41b850.zip
libril: fix compilation with debugging enabled
Change-Id: Iac159175a23b2810e56c38fb82cae58c20dddb8e
-rw-r--r--ril/libril/ril.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/ril/libril/ril.cpp b/ril/libril/ril.cpp
index c61bd04..bb60703 100644
--- a/ril/libril/ril.cpp
+++ b/ril/libril/ril.cpp
@@ -101,8 +101,8 @@ namespace android {
#if RILC_LOG
#define startRequest sprintf(printBuf, "(")
#define closeRequest sprintf(printBuf, "%s)", printBuf)
- #define printRequest(token, req) \
- RLOGD("[%04d]> %s %s", token, requestToString(req), printBuf)
+ #define printRequest(token, req) \
+ RLOGD("[%04d]> %s %s", token, requestToString(req), printBuf)
#define startResponse sprintf(printBuf, "%s {", printBuf)
#define closeResponse sprintf(printBuf, "%s}", printBuf)
@@ -3808,8 +3808,8 @@ static int responseLceData(Parcel &p, void *response, size_t responselen) {
p.write((void *)&(p_cur->lce_suspended), 1);
startResponse;
- appendPrintBuf("LCE info received: capacity %d confidence level %d
- and suspended %d",
+ appendPrintBuf("LCE info received: capacity %d confidence level %d"
+ "and suspended %d",
p_cur->last_hop_capacity_kbps, p_cur->confidence_level,
p_cur->lce_suspended);
closeResponse;
@@ -3838,8 +3838,8 @@ static int responseActivityData(Parcel &p, void *response, size_t responselen) {
p.writeInt32(p_cur->rx_mode_time_ms);
startResponse;
- appendPrintBuf("Modem activity info received: sleep_mode_time_ms %d idle_mode_time_ms %d
- tx_mode_time_ms %d %d %d %d %d and rx_mode_time_ms %d",
+ appendPrintBuf("Modem activity info received: sleep_mode_time_ms %d idle_mode_time_ms %d"
+ "tx_mode_time_ms %d %d %d %d %d and rx_mode_time_ms %d",
p_cur->sleep_mode_time_ms, p_cur->idle_mode_time_ms, p_cur->tx_mode_time_ms[0],
p_cur->tx_mode_time_ms[1], p_cur->tx_mode_time_ms[2], p_cur->tx_mode_time_ms[3],
p_cur->tx_mode_time_ms[4], p_cur->rx_mode_time_ms);