From 74e6e5be12dc4267afc55b3fe53e3dcf77e747da Mon Sep 17 00:00:00 2001 From: Antonio SJ Musumeci Date: Mon, 15 Dec 2025 13:53:17 -0600 Subject: [PATCH] tests.cpp --- tests/tests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/tests.cpp b/tests/tests.cpp index c49fc4a7..6fd1f315 100644 --- a/tests/tests.cpp +++ b/tests/tests.cpp @@ -330,7 +330,7 @@ test_rmdir() TEST_CHECK(rv == 0); int file2_fd; - file2_fd = openat(root_fd,"test-file",O_CREAT|O_EXCL,0555); + file2_fd = openat(dir_fd,"test-file",O_CREAT|O_EXCL,0555); TEST_CHECK(file2_fd >= 0);