Dmitry Timoshkov : atl100: Print file name in the failure message and fix a typo.

Alexandre Julliard julliard at winehq.org
Tue Oct 29 15:12:25 CDT 2013


Module: wine
Branch: master
Commit: 454243aa54bcab77b9b695ee2b1256965a089065
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=454243aa54bcab77b9b695ee2b1256965a089065

Author: Dmitry Timoshkov <dmitry at baikal.ru>
Date:   Tue Oct 29 16:08:42 2013 +0900

atl100: Print file name in the failure message and fix a typo.

---

 dlls/atl100/registrar.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dlls/atl100/registrar.c b/dlls/atl100/registrar.c
index b255e12..90c5b5b 100644
--- a/dlls/atl100/registrar.c
+++ b/dlls/atl100/registrar.c
@@ -511,13 +511,13 @@ static HRESULT file_register(Registrar *This, LPCOLESTR fileName, BOOL do_regist
 
             HeapFree(GetProcessHeap(), 0, regstrw);
         }else {
-            WARN("Failed to read faile\n");
+            WARN("Failed to read file %s\n", debugstr_w(fileName));
             hres = HRESULT_FROM_WIN32(GetLastError());
         }
         HeapFree(GetProcessHeap(), 0, regstra);
         CloseHandle(file);
     }else {
-        WARN("Could not open file\n");
+        WARN("Could not open file %s\n", debugstr_w(fileName));
         hres = HRESULT_FROM_WIN32(GetLastError());
     }
 




More information about the wine-cvs mailing list