summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-01-03 12:15:03 -0800
committerMartijn Coenen <maco@google.com>2014-03-19 05:45:21 +0000
commitd755ed47fb9b365d45e8e923e86d4cf70fd42782 (patch)
treeef2271f8d59583a849b619ffaac60cabbcb8fc84
parent57198e18138421ba93eda08ff6dc880de213e80a (diff)
downloadandroid_packages_apps_Nfc-d755ed47fb9b365d45e8e923e86d4cf70fd42782.tar.gz
android_packages_apps_Nfc-d755ed47fb9b365d45e8e923e86d4cf70fd42782.tar.bz2
android_packages_apps_Nfc-d755ed47fb9b365d45e8e923e86d4cf70fd42782.zip
Fix compiler warnings (DO NOT MERGE).
packages/apps/Nfc/nci/jni/RoutingManager.cpp: In member function 'bool RoutingManager::addAidRouting(const UINT8*, UINT8, int)': packages/apps/Nfc/nci/jni/RoutingManager.cpp:123:94: warning: format '%s' expects a matching 'char*' argument [-Wformat=] ALOGE ("%s: failed to route AID"); ^ packages/apps/Nfc/nci/jni/RoutingManager.cpp: In member function 'bool RoutingManager::removeAidRouting(const UINT8*, UINT8)': packages/apps/Nfc/nci/jni/RoutingManager.cpp:139:95: warning: format '%s' expects a matching 'char*' argument [-Wformat=] ALOGE ("%s: failed to remove AID"); Bug: 13476133 Change-Id: I6765bc68a7d8c2180cf8dd2f587d302cac314538
-rw-r--r--nci/jni/RoutingManager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/nci/jni/RoutingManager.cpp b/nci/jni/RoutingManager.cpp
index 83e97d0a..5577f503 100644
--- a/nci/jni/RoutingManager.cpp
+++ b/nci/jni/RoutingManager.cpp
@@ -120,7 +120,7 @@ bool RoutingManager::addAidRouting(const UINT8* aid, UINT8 aidLen, int route)
return true;
} else
{
- ALOGE ("%s: failed to route AID");
+ ALOGE ("%s: failed to route AID", fn);
return false;
}
}
@@ -136,7 +136,7 @@ bool RoutingManager::removeAidRouting(const UINT8* aid, UINT8 aidLen)
return true;
} else
{
- ALOGE ("%s: failed to remove AID");
+ ALOGE ("%s: failed to remove AID", fn);
return false;
}
}