diff options
author | Mike Yuan <me@yhndnzj.com> | 2024-08-17 13:20:09 +0200 |
---|---|---|
committer | Mike Yuan <me@yhndnzj.com> | 2024-08-17 18:52:42 +0200 |
commit | 6c8ade30661f7d2d1b286c58050c4f9b1ed7b3e9 (patch) | |
tree | 48147942bd44670e5325990d4e2d39a057cdcd28 /src/test/test-bpf-restrict-fs.c | |
parent | network: refuse files under API VFS specified in PrivateKeyFile= and friends (diff) | |
download | systemd-6c8ade30661f7d2d1b286c58050c4f9b1ed7b3e9.tar.xz systemd-6c8ade30661f7d2d1b286c58050c4f9b1ed7b3e9.zip |
core/unit: rename set_unit_path() -> setenv_unit_path()
The previous name is quite vague on what this precisely
do.
Diffstat (limited to 'src/test/test-bpf-restrict-fs.c')
-rw-r--r-- | src/test/test-bpf-restrict-fs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test-bpf-restrict-fs.c b/src/test/test-bpf-restrict-fs.c index 7ece33750b..11e97bf922 100644 --- a/src/test/test-bpf-restrict-fs.c +++ b/src/test/test-bpf-restrict-fs.c @@ -83,7 +83,7 @@ int main(int argc, char *argv[]) { return log_tests_skipped("cgroupfs not available"); ASSERT_OK(get_testdata_dir("units", &unit_dir)); - ASSERT_OK(set_unit_path(unit_dir)); + ASSERT_OK(setenv_unit_path(unit_dir)); assert_se(runtime_dir = setup_fake_runtime_dir()); ASSERT_OK(manager_new(RUNTIME_SCOPE_SYSTEM, MANAGER_TEST_RUN_BASIC, &m)); |