mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-05 15:47:54 +02:00
Fix compilation after commit 35566: change sysctl name parameter type to pcint
git-svn-id: trunk@35573 -
This commit is contained in:
parent
ad557a1da6
commit
7853c23a0e
@ -104,7 +104,7 @@ CONST syscall_nr___sysctl = 202;
|
||||
function FPsysctl (Name: pcint; namelen:cuint; oldp:pointer;oldlenp:psize_t; newp:pointer;newlen:size_t):cint;
|
||||
|
||||
Begin
|
||||
if (name[0] <> chr(CTL_USER)) Then
|
||||
if (name[0] <> CTL_USER) Then
|
||||
exit(do_syscall(syscall_nr___sysctl,TSysParam(name), namelen, TSysParam(oldp), TSysParam(oldlenp), TSysParam(newp), TSysParam(newlen)))
|
||||
else
|
||||
Exit(0);
|
||||
|
Loading…
Reference in New Issue
Block a user