Abort if __system_property_area_init fails

If __system_property_area_init() fails, there is a fundamental issue
with the system and we should abort from init.

Bug: 21852512
Change-Id: I05d7978ba3bcc347027a6d9443de7cdd229033d2
This commit is contained in:
Tom Cherry 2015-12-01 17:16:53 -08:00
parent e36a85cdcc
commit 6036114f93

View file

@ -79,7 +79,8 @@ void property_init() {
property_area_initialized = true;
if (__system_property_area_init()) {
return;
ERROR("Failed to initialize property area\n");
exit(1);
}
pa_workspace.size = 0;