Make sure settings isn't null. Not my finest day apparently.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34679 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Fredrik Holmqvist 2009-12-15 22:19:08 +00:00
parent 0f6b7a8cad
commit 118fa8936e

View File

@ -32,6 +32,9 @@ void
elf_init()
{
void *settings = load_driver_settings("kernel");
if (settings == NULL)
return;
sLoadElfSymbols = !get_driver_boolean_parameter(settings, "load_symbols",
false, false);
unload_driver_settings(settings);