summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2015-06-23 18:41:38 +0200
committerAndreas Schneider <asn@cryptomilk.org>2015-06-23 18:43:21 +0200
commita8d0950e22e1bf02eac894e99e23b8ea3ebd20f0 (patch)
treeae06866d875899f87126c5269aedd7ff1499cbb0
parent50db0ed6de9dc06520259186bc3508975a91f27c (diff)
downloadandroid_hardware_samsung-a8d0950e22e1bf02eac894e99e23b8ea3ebd20f0.tar.gz
android_hardware_samsung-a8d0950e22e1bf02eac894e99e23b8ea3ebd20f0.tar.bz2
android_hardware_samsung-a8d0950e22e1bf02eac894e99e23b8ea3ebd20f0.zip
ril: Fix compilation with debug messages turned on
Change-Id: Ifabf416ebdfe681e63df1d127567d0ef54cfc0ec Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
-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 e56e6f4..c7da4da 100644
--- a/ril/libril/ril.cpp
+++ b/ril/libril/ril.cpp
@@ -1766,7 +1766,7 @@ static void dispatchSetInitialAttachApn(Parcel &p, RequestInfo *pRI)
startRequest;
appendPrintBuf("%sapn=%s, protocol=%s, auth_type=%d, username=%s, password=%s",
- printBuf, pf.apn, pf.protocol, pf.auth_type, pf.username, pf.password);
+ printBuf, pf.apn, pf.protocol, pf.authtype, pf.username, pf.password);
closeRequest;
printRequest(pRI->token, pRI->pCI->requestNumber);
@@ -1937,7 +1937,7 @@ static void dispatchSimAuthentication(Parcel &p, RequestInfo *pRI)
pf.aid = strdupReadString(p);
startRequest;
- appendPrintBuf("authContext=%s, authData=%s, aid=%s", pf.authContext, pf.authData, pf.aid);
+ appendPrintBuf("authContext=%d, authData=%s, aid=%s", pf.authContext, pf.authData, pf.aid);
closeRequest;
printRequest(pRI->token, pRI->pCI->requestNumber);
@@ -2083,8 +2083,8 @@ static void dispatchRadioCapability(Parcel &p, RequestInfo *pRI){
startRequest;
appendPrintBuf("%s [version:%d, session:%d, phase:%d, rat:%d, \
- logicalModemUuid:%s, status:%d", printBuf, rc.version, rc.session
- rc.phase, rc.rat, rc.logicalModemUuid, rc.session);
+ logicalModemUuid:%s, status:%d", printBuf, rc.version, rc.session,
+ rc.phase, rc.rat, rc.logicalModemUuid, rc.status);
closeRequest;
printRequest(pRI->token, pRI->pCI->requestNumber);
@@ -3449,7 +3449,7 @@ static int responseRadioCapability(Parcel &p, void *response, size_t responselen
startResponse;
appendPrintBuf("%s[version=%d,session=%d,phase=%d,\
- rat=%s,logicalModemUuid=%s,status=%d]",
+ rat=%d,logicalModemUuid=%s,status=%d]",
printBuf,
p_cur->version,
p_cur->session,
@@ -3740,7 +3740,7 @@ static int responseDcRtInfo(Parcel &p, void *response, size_t responselen)
p.writeInt32(pDcRtInfo->powerState);
appendPrintBuf("%s[time=%d,powerState=%d]", printBuf,
pDcRtInfo->time,
- pDcRtInfo->powerState);
+ (int)pDcRtInfo->powerState);
closeResponse;
return 0;