Modified an ase_exception call using printf style call.

This commit is contained in:
David Capello 2010-03-07 15:22:14 -02:00
parent 5edc5696ca
commit 2ed2ce9545

View File

@ -65,7 +65,8 @@ LegacyModules::LegacyModules(int requirements)
PRINTF("Installing module: %s\n", module[c].name);
if ((*module[c].init)() < 0)
throw ase_exception(std::string("Error initializing module: ") + module[c].name);
throw ase_exception("Error initializing module: %s",
static_cast<const char*>(module[c].name));
module[c].installed = true;
}