display ID of registered IMCs/IMVs

This commit is contained in:
Andreas Steffen
2010-11-10 21:30:50 +01:00
parent cc5f7aa3d8
commit e7fe3fe2c3
2 changed files with 4 additions and 2 deletions
@@ -133,7 +133,8 @@ static bool load_imcs(char *filename)
imc->destroy(imc);
return FALSE;
}
DBG1(DBG_TNC, "IMC \"%s\" loaded from '%s'", name, path);
DBG1(DBG_TNC, "IMC %u \"%s\" loaded from '%s'", imc->get_id(imc),
name, path);
}
munmap(addr, sb.st_size);
close(fd);
@@ -133,7 +133,8 @@ static bool load_imvs(char *filename)
imv->destroy(imv);
return FALSE;
}
DBG1(DBG_TNC, "IMV \"%s\" loaded from '%s'", name, path);
DBG1(DBG_TNC, "IMV %u \"%s\" loaded from '%s'", imv->get_id(imv),
name, path);
}
munmap(addr, sb.st_size);
close(fd);