bug 611163 - Fennec doesn't start due a problem with "ashmem buffer" in DDMS, patch to add logging r=taras a=blockingfennec

This commit is contained in:
Brad Lassey 2011-02-07 23:40:42 -05:00
parent 47f111cfba
commit 534b38b388

View File

@ -504,7 +504,7 @@ static void * mozload(const char * path, void *zip,
__android_log_print(ANDROID_LOG_ERROR, "GeckoLibLoad", "Loading %s from cache", path + 4);
#endif
if (fd < 0) {
__android_log_print(ANDROID_LOG_ERROR, "GeckoLibLoad", "Couldn't get an ashmem buffer");
__android_log_print(ANDROID_LOG_ERROR, "GeckoLibLoad", "Couldn't open " ASHMEM_NAME_DEF ", Error %d, %s", errno, strerror(errno));
return NULL;
}
buf = mmap(NULL, lib_size,