relibc: fix setgroups and unused ENOSYS import

This commit is contained in:
Red Bear OS
2026-07-08 18:45:05 +03:00
parent 5c8fe1c51a
commit 5638058b48
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -1341,7 +1341,7 @@ impl Pal for Sys {
Err(_) => return Err(Errno(ENOMEM)),
};
let mut file = match File::open(
CStr::from_bytes_with_nul(path_c.as_bytes_with_nul()).unwrap(),
CStr::borrow(&path_c),
fcntl::O_WRONLY | fcntl::O_CLOEXEC,
) {
Ok(f) => f,