mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-23 08:29:35 +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;
|
||||
|
||||
begin
|
||||
{ Result:=StrError(ErrorCode);}
|
||||
Result:=Format(SUnknownErrorCode,[ErrorCode]);
|
||||
end;
|
||||
|
||||
function GetLastOSError: Integer;
|
||||
|
Loading…
Reference in New Issue
Block a user