mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-26 07:09:24 +02:00
amicommon: set the return value of SysErrorMessage to something default. this is consistent with some other platforms
git-svn-id: trunk@34591 -
This commit is contained in:
parent
bfe904fb16
commit
33602807f5
@ -764,7 +764,7 @@ end;
|
|||||||
function SysErrorMessage(ErrorCode: Integer): String;
|
function SysErrorMessage(ErrorCode: Integer): String;
|
||||||
|
|
||||||
begin
|
begin
|
||||||
{ Result:=StrError(ErrorCode);}
|
Result:=Format(SUnknownErrorCode,[ErrorCode]);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
function GetLastOSError: Integer;
|
function GetLastOSError: Integer;
|
||||||
|
Loading…
Reference in New Issue
Block a user