* Fixed warning.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27790 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2008-09-30 14:13:55 +00:00
parent dc55af6452
commit 3ddf6441ea
1 changed files with 1 additions and 2 deletions

View File

@ -81,10 +81,9 @@ dump_int_statistics(int argc, char **argv)
io != &sVectors[i].handler_list; io = io->next) {
const char *symbol, *imageName;
bool exactMatch;
addr_t address, baseAddress;
status_t error = elf_debug_lookup_symbol_address((addr_t)io->func,
&baseAddress, &symbol, &imageName, &exactMatch);
NULL, &symbol, &imageName, &exactMatch);
if (error == B_OK && exactMatch) {
if (strchr(imageName, '/') != NULL)
imageName = strrchr(imageName, '/') + 1;