Fix compilation after commit 35566: change sysctl name parameter type to pcint

git-svn-id: trunk@35573 -
This commit is contained in:
pierre 2017-03-12 21:00:41 +00:00
parent ad557a1da6
commit 7853c23a0e

View File

@ -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);