diff --git a/repos/base/include/rom_session/connection.h b/repos/base/include/rom_session/connection.h index ef2016204..c01598685 100644 --- a/repos/base/include/rom_session/connection.h +++ b/repos/base/include/rom_session/connection.h @@ -29,13 +29,13 @@ namespace Genode { private: - Rom_session_capability _create_session(const char *filename, const char *label) + Rom_session_capability _create_session(const char *module_name, const char *label) { try { return session("ram_quota=4K, filename=\"%s\", label=\"%s\"", - filename, label ? label: filename); } + module_name, label ? label: module_name); } catch (...) { - PERR("Could not open file \"%s\"", filename); + PERR("Could not open ROM session for module \"%s\"", module_name); throw Rom_connection_failed(); } } diff --git a/repos/libports/run/ldso.run b/repos/libports/run/ldso.run index bfd763f98..bc2e7e9ae 100644 --- a/repos/libports/run/ldso.run +++ b/repos/libports/run/ldso.run @@ -80,7 +80,7 @@ compare_output_to { [init -> test-ldso] Catch exceptions in program [init -> test-ldso] --------------------------- [init -> test-ldso] exception in remote procedure call: -[init -> test-ldso] Could not open file "unknown_file" +[init -> test-ldso] Could not open ROM session for module "unknown_file" [init -> test-ldso] caught [init -> test-ldso] exception in program: caught [init -> test-ldso] exception in shared lib: caught