am d5580e18: Merge "Fix logging for setup_data_call response"
* commit 'd5580e18a7a1ce1a227e98d5170ffd268b0a1e0a':
Fix logging for setup_data_call response
diff --git a/rild/rild.c b/rild/rild.c
index 77dec1e..b1c5bac 100644
--- a/rild/rild.c
+++ b/rild/rild.c
@@ -245,7 +245,7 @@
dlHandle = dlopen(rilLibPath, RTLD_NOW);
if (dlHandle == NULL) {
- fprintf(stderr, "dlopen failed: %s\n", dlerror());
+ ALOGE("dlopen failed: %s", dlerror());
exit(-1);
}
@@ -254,7 +254,7 @@
rilInit = (const RIL_RadioFunctions *(*)(const struct RIL_Env *, int, char **))dlsym(dlHandle, "RIL_Init");
if (rilInit == NULL) {
- fprintf(stderr, "RIL_Init not defined or exported in %s\n", rilLibPath);
+ ALOGE("RIL_Init not defined or exported in %s\n", rilLibPath);
exit(-1);
}