From a77f7031c15dc8ead0228d6e15f41577bff511f2 Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Wed, 23 Oct 2013 10:03:20 -0700 Subject: If dlopen("libwvm.so") fails, log the reason why. Bug: 11342992 Change-Id: I99986b6181df6d7615fdc1520d2edaadaccd9bb4 --- media/libstagefright/WVMExtractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'media/libstagefright/WVMExtractor.cpp') diff --git a/media/libstagefright/WVMExtractor.cpp b/media/libstagefright/WVMExtractor.cpp index 5ae80cc..bc48272 100644 --- a/media/libstagefright/WVMExtractor.cpp +++ b/media/libstagefright/WVMExtractor.cpp @@ -76,7 +76,7 @@ static void init_routine() { gVendorLibHandle = dlopen("libwvm.so", RTLD_NOW); if (gVendorLibHandle == NULL) { - ALOGE("Failed to open libwvm.so"); + ALOGE("Failed to open libwvm.so: %s", dlerror()); } } -- cgit v1.1