Skip to content
Snippets Groups Projects
Commit cbd42c23 authored by Ron Williams's avatar Ron Williams
Browse files

fix typo in setrlimit

parent 77639ddd
No related branches found
No related tags found
No related merge requests found
......@@ -73,7 +73,7 @@ pub unsafe extern "C" fn getrlimit(resource: c_int, rlp: *mut rlimit) -> c_int {
#[no_mangle]
pub unsafe extern "C" fn setrlimit(resource: c_int, rlp: *const rlimit) -> c_int {
Sys::setrlimit(rsource, rlp)
Sys::setrlimit(resource, rlp)
}
// #[no_mangle]
// pub unsafe extern "C" fn getrusage(who: c_int, r_usage: *mut rusage) -> c_int {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment