1.1 --- a/libresource/lib/src/resource_server.cc Fri Feb 23 01:29:50 2024 +0100
1.2 +++ b/libresource/lib/src/resource_server.cc Fri Feb 23 01:33:47 2024 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Resource server functionality.
1.6 *
1.7 - * Copyright (C) 2018, 2019, 2020, 2021, 2022 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2018-2022, 2024 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -35,7 +35,8 @@
1.13
1.14 long ResourceServer::bind(const char *name)
1.15 {
1.16 - return ipc_server_bind(name, (l4_umword_t) _config, &_config->server);
1.17 + _config->server = l4re_env_get_cap(name);
1.18 + return L4_EOK;
1.19 }
1.20
1.21 /* Start in the same thread indicating whether the server can be finalised. If