* fixed FpGetRLimit and FpUGetRLimit

git-svn-id: trunk@2093 -
This commit is contained in:
Jonas Maebe 2005-12-31 13:52:38 +00:00
parent a11a177469
commit c945b972c4

View File

@ -476,7 +476,7 @@ end;
function FpGetRLimit(resource : cInt; rlim : PRLimit) : cInt; function FpGetRLimit(resource : cInt; rlim : PRLimit) : cInt;
begin begin
FpGetRLimit := do_syscall(syscall_nr_getrlimit, FpGetRLimit := do_syscall(syscall_nr_getrlimit,
TSysParam(resource), TSysParam(@rlim)); TSysParam(resource), TSysParam(rlim));
end; end;
{$ifdef HAS_UGETRLIMIT} {$ifdef HAS_UGETRLIMIT}
@ -484,6 +484,6 @@ function fpugetrlimit(resource : cInt; rlim : PRLimit) : cInt;
begin begin
FpUGetRLimit := do_syscall(syscall_nr_ugetrlimit, FpUGetRLimit := do_syscall(syscall_nr_ugetrlimit,
syscall_nr_getrlimit, syscall_nr_getrlimit,
TSysParam(resource), TSysParam(@rlim)); TSysParam(resource), TSysParam(rlim));
end; end;
{$endif} {$endif}