* Minor cleanup.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34891 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2010-01-04 16:23:14 +00:00
parent 32ac103336
commit 8dd44be804
1 changed files with 5 additions and 3 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2003-2008, Axel Dörfler, axeld@pinc-software.de.
* Copyright 2003-2010, Axel Dörfler, axeld@pinc-software.de.
* Distributed under the terms of the MIT License.
*/
@ -144,7 +144,8 @@ KernelDaemon::Dump()
while (iterator.HasNext()) {
struct daemon* daemon = iterator.Next();
const char *symbol, *imageName;
const char* imageName;
const char* symbol;
bool exactMatch;
status_t status = elf_debug_lookup_symbol_address(
@ -279,6 +280,7 @@ kernel_daemon_init(void)
if (sResourceResizer.Init("resource resizer") != B_OK)
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;
}