Browse Source

Fix compilation of syscall unit for i386-beos target

Pierre Muller 1 year ago
parent
commit
b1e1a107d3
1 changed files with 2 additions and 2 deletions
  1. 2 2
      rtl/beos/syscall.inc

+ 2 - 2
rtl/beos/syscall.inc

@@ -62,12 +62,12 @@ begin
   funcresult := do_SysCall(callnr, args);
   if funcresult < 0 then
    begin
-     errno := funcresult;
+     seterrno(funcresult);
      SysCall := - 1;
    end
   else
    begin
      SysCall := funcresult;
-     errno := 0;
+     seterrno(0);
    end;
 end;