1.1 --- a/tests/dstest_block_client.cc Tue Mar 07 16:44:43 2023 +0100
1.2 +++ b/tests/dstest_block_client.cc Tue Mar 07 19:10:40 2023 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Test dataspace operations.
1.6 *
1.7 - * Copyright (C) 2020, 2021, 2022 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2020, 2021, 2022, 2023 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 @@ -22,6 +22,7 @@
1.13 #include <l4/re/env.h>
1.14 #include <l4/sys/err.h>
1.15
1.16 +#include <systypes/env.h>
1.17 #include <systypes/fcntl.h>
1.18 #include <systypes/format.h>
1.19
1.20 @@ -96,7 +97,7 @@
1.21
1.22 /* Obtain access to the filesystem. */
1.23
1.24 - l4_cap_idx_t server = l4re_env_get_cap("server");
1.25 + l4_cap_idx_t server = l4re_env_get_cap(ENV_FILESYSTEM_SERVER_NAME);
1.26
1.27 /* Invoke the open method to receive the file reference. */
1.28