mirror of
https://github.com/genodelabs/genode.git
synced 2025-06-13 04:38:20 +00:00
committed by
Christian Helmuth
parent
7bed3967ae
commit
e370e08e01
@ -50,7 +50,7 @@ namespace Libc {
|
||||
void path(char const *newpath)
|
||||
{
|
||||
if (newpath) {
|
||||
size_t const path_size = ::strlen(newpath) + 1;
|
||||
Genode::size_t const path_size = ::strlen(newpath) + 1;
|
||||
char *buf = (char*)malloc(path_size);
|
||||
if (!buf) {
|
||||
Genode::error("could not allocate path buffer for libc_fd ",
|
||||
|
Reference in New Issue
Block a user