Fix getgrouplist len

This commit is contained in:
Wildan Mubarok
2025-09-15 21:29:27 +00:00
parent 94fbdd5159
commit 2f35c4a665
+1 -1
View File
@@ -515,7 +515,7 @@ pub unsafe extern "C" fn getgrouplist(
if groups_found as usize > grps.len() {
-1
} else {
grps.len() as c_int
groups_found
}
}