mirror of
https://github.com/genodelabs/genode.git
synced 2025-01-29 15:44:02 +00:00
base: fix misleading ROM-connection error message
This commit is contained in:
parent
f9269f5cb1
commit
56ed7addbc
@ -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();
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user