mirror of
https://github.com/genodelabs/genode.git
synced 2025-05-02 16:52:52 +00:00
linux: fix issue with pointer to rvalue struct member
This commit is contained in:
parent
918895a4f4
commit
3384d3d23c
@ -376,7 +376,9 @@ void Pd_session_component::start(Capability<Dataspace> binary)
|
|||||||
return; /* XXX reflect error to client */
|
return; /* XXX reflect error to client */
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *filename = ds->fname().buf;
|
/* we need 's' on stack to make it an lvalue with an lvalue member we use the pointer to */
|
||||||
|
Linux_dataspace::Filename s = ds->fname();
|
||||||
|
const char *filename = s.buf;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* In order to be executable via 'execve', a program must be represented as
|
* In order to be executable via 'execve', a program must be represented as
|
||||||
|
Loading…
x
Reference in New Issue
Block a user