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:
parent
0f6b7a8cad
commit
118fa8936e
@ -32,6 +32,9 @@ void
|
|||||||
elf_init()
|
elf_init()
|
||||||
{
|
{
|
||||||
void *settings = load_driver_settings("kernel");
|
void *settings = load_driver_settings("kernel");
|
||||||
|
if (settings == NULL)
|
||||||
|
return;
|
||||||
|
|
||||||
sLoadElfSymbols = !get_driver_boolean_parameter(settings, "load_symbols",
|
sLoadElfSymbols = !get_driver_boolean_parameter(settings, "load_symbols",
|
||||||
false, false);
|
false, false);
|
||||||
unload_driver_settings(settings);
|
unload_driver_settings(settings);
|
||||||
|
Loading…
Reference in New Issue
Block a user