Procházet zdrojové kódy

Merged revision(s) 41627 from trunk:
* ppudump: Fixed formatting of a error message.
........

git-svn-id: branches/fixes_3_2@41629 -

yury před 6 roky
rodič
revize
99c2a15203
1 změnil soubory, kde provedl 1 přidání a 1 odebrání
  1. 1 1
      compiler/utils/ppuutils/ppuout.pp

+ 1 - 1
compiler/utils/ppuutils/ppuout.pp

@@ -1210,7 +1210,7 @@ begin
   while FOutBufPos > 0 do begin
   while FOutBufPos > 0 do begin
     len:=FileWrite(FOutFileHandle, FOutBuf[i], FOutBufPos);
     len:=FileWrite(FOutFileHandle, FOutBuf[i], FOutBufPos);
     if len < 0 then
     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);
     Inc(i, len);
     Dec(FOutBufPos, len);
     Dec(FOutBufPos, len);
   end;
   end;