mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-10-24 03:51:39 +02:00
* fixed FpGetRLimit and FpUGetRLimit
git-svn-id: trunk@2093 -
This commit is contained in:
parent
a11a177469
commit
c945b972c4
@ -476,7 +476,7 @@ end;
|
||||
function FpGetRLimit(resource : cInt; rlim : PRLimit) : cInt;
|
||||
begin
|
||||
FpGetRLimit := do_syscall(syscall_nr_getrlimit,
|
||||
TSysParam(resource), TSysParam(@rlim));
|
||||
TSysParam(resource), TSysParam(rlim));
|
||||
end;
|
||||
|
||||
{$ifdef HAS_UGETRLIMIT}
|
||||
@ -484,6 +484,6 @@ function fpugetrlimit(resource : cInt; rlim : PRLimit) : cInt;
|
||||
begin
|
||||
FpUGetRLimit := do_syscall(syscall_nr_ugetrlimit,
|
||||
syscall_nr_getrlimit,
|
||||
TSysParam(resource), TSysParam(@rlim));
|
||||
TSysParam(resource), TSysParam(rlim));
|
||||
end;
|
||||
{$endif}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user