diff options
Diffstat (limited to 'src/thirdparty/unrar/hardlinks.cpp')
-rw-r--r-- | src/thirdparty/unrar/hardlinks.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thirdparty/unrar/hardlinks.cpp b/src/thirdparty/unrar/hardlinks.cpp index f783e1f47..f41d3e8ac 100644 --- a/src/thirdparty/unrar/hardlinks.cpp +++ b/src/thirdparty/unrar/hardlinks.cpp @@ -8,7 +8,7 @@ bool ExtractHardlink(wchar *NameNew,wchar *NameExisting,size_t NameExistingSize) bool Success=CreateHardLink(NameNew,NameExisting,NULL)!=0; if (!Success) { - ErrHandler.CreateErrorMsg(NameNew); + Log(NULL,St(MErrCreateLnkH),NameNew); ErrHandler.SysErrMsg(); ErrHandler.SetErrorCode(RARX_CREATE); } @@ -22,7 +22,7 @@ bool ExtractHardlink(wchar *NameNew,wchar *NameExisting,size_t NameExistingSize) bool Success=link(NameExistingA,NameNewA)==0; if (!Success) { - ErrHandler.CreateErrorMsg(NameNew); + Log(NULL,St(MErrCreateLnkH),NameNew); ErrHandler.SysErrMsg(); ErrHandler.SetErrorCode(RARX_CREATE); } |