* ppudump: Fixed formatting of a error message.

git-svn-id: trunk@41627 -
This commit is contained in:
yury 2019-03-07 10:33:04 +00:00
parent 37941d03cc
commit 54756c0f60

View File

@ -1210,7 +1210,7 @@ begin
while FOutBufPos > 0 do begin
len:=FileWrite(FOutFileHandle, FOutBuf[i], FOutBufPos);
if len < 0 then
raise Exception.CreateFmt('Error writing to file: ', [ {$if declared(GetLastOSError) } SysErrorMessage(GetLastOSError) {$else} 'I/O error' {$endif} ]);
raise Exception.CreateFmt('Error writing to file: %s', [ {$if declared(GetLastOSError) } SysErrorMessage(GetLastOSError) {$else} 'I/O error' {$endif} ]);
Inc(i, len);
Dec(FOutBufPos, len);
end;