* Minor cleanup.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34891 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright 2003-2008, Axel Dörfler, [email protected].
|
* Copyright 2003-2010, Axel Dörfler, [email protected].
|
||||||
* Distributed under the terms of the MIT License.
|
* Distributed under the terms of the MIT License.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -144,7 +144,8 @@ KernelDaemon::Dump()
|
|||||||
|
|
||||||
while (iterator.HasNext()) {
|
while (iterator.HasNext()) {
|
||||||
struct daemon* daemon = iterator.Next();
|
struct daemon* daemon = iterator.Next();
|
||||||
const char *symbol, *imageName;
|
const char* imageName;
|
||||||
|
const char* symbol;
|
||||||
bool exactMatch;
|
bool exactMatch;
|
||||||
|
|
||||||
status_t status = elf_debug_lookup_symbol_address(
|
status_t status = elf_debug_lookup_symbol_address(
|
||||||
@@ -279,6 +280,7 @@ kernel_daemon_init(void)
|
|||||||
if (sResourceResizer.Init("resource resizer") != B_OK)
|
if (sResourceResizer.Init("resource resizer") != B_OK)
|
||||||
panic("kernel_daemon_init(): failed to init resource resizer");
|
panic("kernel_daemon_init(): failed to init resource resizer");
|
||||||
|
|
||||||
add_debugger_command("daemons", dump_daemons, "Shows registered kernel daemons.");
|
add_debugger_command("daemons", dump_daemons,
|
||||||
|
"Shows registered kernel daemons.");
|
||||||
return B_OK;
|
return B_OK;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user